Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
~2K People Reached
About Me

Comp-Sci student

Favorite Tags
Member Avatar for kahaj

you could also add [icode] system ("PAUSE"); [/icode] right before you return from main. This will cause the program to stop and wait for a key to be hit before it closes. You would do this instead of [icode]cin.get()[/icode].

Member Avatar for PRATS 1990
0
98
Member Avatar for mattwaab

hey, i am working on this project, and have made it to the end of the hard coding part. Now i need to work out the bugs / get the thing to compile. I am having some trouble though as i am getting error messages that i dont understand. here …

Member Avatar for StuXYZ
0
94
Member Avatar for pbwebdev
Member Avatar for mtucker6784

you can use a prototype. In c++ a prototype is declared at the top of your program, outside of any functions. the prototype is the return type of a function, the name of the function and any arguments that get passed to the function. the prototypes for your program would …

Member Avatar for mattwaab
0
97
Member Avatar for d4diaz
Member Avatar for Freaky_Chris
0
86
Member Avatar for odonal01

[URL="http://www.daniweb.com/forums/announcement8-2.html"]Read this[/URL]

Member Avatar for VernonDozier
-2
154
Member Avatar for wolverinert68

couple of things that i noticed without knowing what problems you were getting: [code=java] double i = 0; for ( tempArray[0] = 0; i < tempArray.length; tempArray[0]++); i = i - 32 * 5/9; [/code] The 2 biggest issues that i see are : 1. you put a semi at …

Member Avatar for mattwaab
0
118
Member Avatar for serkan sendur

That is the practice that is taught to beginners. if you make it, you should clean it up.

Member Avatar for Free_Classified
0
467
Member Avatar for Mattethington

you could make the folder a drop box of sorts, where the folder has write only permission. Students could drag files into the folder, but not see what is in there, nor edit what is in there.

Member Avatar for mattwaab
0
112
Member Avatar for clutchkiller

when you output to your file, the text editor that you open the file with (notepad for example) will have an option to automatically wrap the words to the size of the window. If you want the lines to wrap at a certain set length, add something like: [code=c++] int …

Member Avatar for clutchkiller
0
106
Member Avatar for Manutebecker

[QUOTE=Rashakil Fol;787165]Why don't you just learn both?[/QUOTE] I agree. They both are very similar. Once you get one, the other comes easily.

Member Avatar for Manutebecker
0
108
Member Avatar for littleson

[CODE=c++] #include<iostream> using namespace std; int main() { int x,y; int *p1,*p2; p1=&x; p2=&y; *p1=10; *p2=*p1; p1=p2; *p1=20; cout<< x << y; return 0; } [/CODE] I believe where you are getting confused is at line 11. There you tell it that the address that [ICODE]p2[/ICODE] holds is to be …

Member Avatar for Narue
0
89
Member Avatar for mattwaab

Hey, i am working on a project in which i am making a minesweeper game. The game part was written by my prof. all i had to do was make the class and header to run the background of the game. I have done so successfully, but i am having …

Member Avatar for mattwaab
2
252