No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
ok so, my name is Brandon and I'm 16 years old (17 in may) and i want to get the CompTIA A+ certification for a Geek Squad job or some other entry-level IT job. If any of you guys ever took the two tests necessary to get the cert. any … |
|
ok what i'm trying to do is make a pong game in an applet. here's my code: [CODE]//<applet code = Pong width = 800 height = 600></applet> import javax.swing.*; import java.awt.event.*; import java.awt.*; import com.bruceeckel.swing.*; public class Pong extends JApplet implements KeyListener { int px1 = 770, px2 = 20, … |
|
[CODE]#include <fstream> #include <string> using namespace std; typedef struct blook { char* name; int hour; char* day; char* month; char* year; char* alive; char* sick; char* pregnant; char* adult; char* elderly; char* child; char* water; char* meat; char* wood; char* seeds; char* vegtables; }info; info load(string name1) { info black; … |
|
hey guys, ok here's the situation. i need to turn a C++ style string into an integer now i've used altoi and strtol but they give me different numbers. heres my code [CODE] cout << file << endl << file.c_str() << endl; // debugging purposes num = strtol(file.c_str(), &pEnd, 10); … |
|
help please ok here is my code [ICODE]void sleep() { energy 100; happy + 20; strength - 1; bladder 70; age + (hour * 8); };[/ICODE] ok? all the varibles are preprocesser defined, you know #define energy 100. i have 2 file in this project main.cpp and Brandon.cpp, the funciton … |
|
hey guys umm this might seem really stupid but for reasons i would rather leave unsaid i want to make an encryption program and by this i mean a program that will turn a string into numbers and funnel into a file then when selected take the contents of the … |
|
ok well first of all i was going to use "a push in the write direction" for the title but i decided it was too stuid haha anyway umm as I am one for pointless trivialities i want to code a program that rains streaming data from the top of … |
|
this is my first program ever, my email address is in the program. tell me if anything is too complicated or there are bugs and if you can tell me how to fix them. this program is me playing with fstream and it writes to a txt file or creates … |
|
[CODE]int write() { system("cls"); char text[2000]; char thing[100]; cout << "which file would you like to write to?"; cin.getline (thing, 100); cout << "what would you like to write? (up to two thousand characters)"; cin.getline (text, 20000); ofstream file; file.open(thing); file<<text; file.close(); system("pause"); return haha(); }[/CODE] ok so I'm writing … |