Beginners - November 2008 (Page 11)

0 or Null in C++?
 
If I created a pointer, which value should I assign it in C++? className *obj=0; or classNam...
[13 replies] Last: KDE 4's new plasma thingie is a big thumbs down, IMHO. I had all kind... (by jsmith)
by jrock
structures
 
for some reason im getting the total by each player only and not adding the player scored for a tota...
[2 replies] Last: jrock, This should work, though it's not great. If you have t... (by klxp9)
Compilation queries...
 
Hi. I'm a beginner and i'm using visual c++ 6.0 to write code and compile my programs. I was wonderi...
[4 replies] Last: The far as i know: no. You will have to download a IDE or a compiler t... (by Scipio)
by cangel
PlaySound
 
my code for PlaySound is like this: #include <windows.h> #include <mmsystem.h> int main() ...
[3 replies] Last: This pronlem usually turns up when you select Win32 Application wh... (by guestgulkan)
Clear and Redraw.
 
May i ask how to clear the screen in the console and the redraw the whole thing again. For example, ...
[1 reply] : Well i am also a beginner bu i can help u wid this. Do sumfin like th... (by chaudharybilal)
by klxp9
The *next command(?) in C
 
Hi, I've been looking through the source for the calcurse program, and I keep coming across ...
[4 replies] Last: Sure thing. I'm learning all sorts of stuff reading source cod... (by klxp9)
Making an executable file from c++ source code
 
Hello. I'm new on this forum and to c++ programming. I've been reading on the tutorial on this site...
[2 replies] Last: Correct, and once you build it like that go to where your projects sav... (by Mythios)
by Timbo1
Calculator
 
I have created basic code for a calculator but I am trying to make it do a single calculation but it...
[5 replies] Last: you should delete previous declarations of x, y and z from your code (by Bazzy)
by wilnos
Probelm with Arrays, Pointers, or Loop/ Function Calls, Im not sure which
 
Warning: Noob post. Messing around with a few concepts learned in this website's tutorial and I c...
[9 replies] Last: If you use a 2D array then all you need is to hold two pairs of info ... (by Faldrax)
by wishly
can you fix this source??
 
can you fix this? because im goin crazy to this game source when i try to fix it i got more error......
[6 replies] Last: Hah all is good, i just didn't know if it's allowed to be spoken about... (by Mythios)
C creating block dude
 
can someone help me how to make the game called block dude in .C ? (block dude is a game from Texas...
[3 replies] Last: Yeah the SDL can take some getting use to but - in the long run the S... (by Mythios)
Random number array
 
Hey I have to build a random number array, heres the exact problem- void fillArray (int array ...
[8 replies] Last: You are on the right track. But you need to keep two pieces of inform... (by jsmith)
Issue with a program that calls a function and has a loop
 
I'm taking a intro course to C++ and this is a program for one of our assignments. I corrected the e...
[4 replies] Last: No problem - glad to help (by Mythios)
Changing content of a file using an exe
 
Hi Guys, All i want to do is to change the content of a file. For instance, there is a batch file...
[3 replies] Last: Hi Faldrax. Will keep your comments (about avoiding cross/duplicate... (by newkidonthebloc)
looking for a learning buddy
 
i am a complete newcomer to programming full stop and would like a buddy who could help me with the ...
[1 reply] : The tutorial on this site is a good one: http://www.cplusplus.com/d... (by firedraco)
Alternative to CIN
 
I am writing a program which gets integer data from a user. I want the option to default the data i...
[2 replies] Last: thanks for your help. What I ended up doing was to use the cin.getlin... (by Blanco64)
by mgph
how to clear the screen in console ?
 
Hi, Can someone tell me how to clear the console screen ? Which command could I use ? And also, w...
[1 reply] : try system("Pause"); and system("cls"); (from iostream). They are... (by Bazzy)
by Ray
Simple Calculator
 
I have built a code for class and it does nto work. I do not understand why. Can someonne look over ...
[5 replies] Last: Could have helped you, but solving homework is forbidden, sorry. (by vorticidal)
loop not ending
 
trying to create a program as follows: Next weekend the school is hosting a fencing tournament. An i...
[7 replies] Last: It would need to be if( rank[ 0 ] == 'A' && !strcmp( club, "sabr... (by jsmith)
by Ray
Confused and upset.
 
Ok I copied and pasted a code from my school book straight into the citrix lab's visual studio. Here...
[10 replies] Last: The original purpose of namespaces was to solve the problem where two ... (by jsmith)
November 2008 Pages: 1... 910111213... 19
  Archived months: [oct2008] [dec2008]

This is an archived page. To post a new message, go to the current page.