Beginners - August 2011 (Page 38)

Using "getchar()" help! HELP HELP HELP
 
Okay. I am VERY new at c++, and have just learned in class about arrays and strings. This is the ...
[2 replies] Last: Why don't you use the string class? Is there a requirement that say'... (by lnk2019)
by Kart
Using Window Command Prompt to run .cpp file
 
I'd like to compile and run my code/program from standard Windows Command Prompt ******************...
[2 replies] Last: And do you defiantly need it to run the .cpp? I know how to run the p... (by drunken meerkat)
by tonnot
Life of an object created inside a button_click
 
I'm very suprised. I have a button_click_command where I do the next: { ClassA a_classA; a_classA....
[1 reply] : It's undefined behavior. You can't rely on the fact that the pointer i... (by Zhuge)
Using #define within a function to change a current definition
 
Hi. I'm new here to the c++ forums. I apologize in advance if this topic has already been discussed ...
[5 replies] Last: After following your help and reading the article, I've fixed my mapdr... (by Joey Jones)
by tonnot
I'm going crazy with crash on deleting object with a vector inside.
 
I have this structure : struct W_sup { W_sup_header header; vector<Tpun> V_pnt; ...
[2 replies] Last: I cant post more code..... But.... forget it, my problem is deeper . T... (by tonnot)
Trouble combining concepts (Function+Do while loop to get factorial)
 
My code is below. I tried to use a function and a do-while loop to find factorials, but I'm having s...
[4 replies] Last: It ain't pretty but is works. #include <iostream> using namespace... (by fireblade)
Strange macro... Could anyone explain please?
 
So here is the line of code that I was curious, rather concerned about. #define PROCESS_NAME(name)...
[3 replies] Last: Thank you. Good to know I have some sanity left in me to make correct... (by Zia Ur Rehman)
String type member function in class
 
I'm currently practicing putting my classes in separate .h/.cpp files, and I stumbled upon an error....
[1 reply] : Can we see Conversation.h? (by shacktar)
by mavvie
VBO's (Big problem)
 
Hey all :) I am an intermediate C++ programmer and have written some small programs and am currently...
[5 replies] Last: Maybe this could be the issue? glGenBuffers(sizeof(GLuint)*2,bufID... (by shacktar)
if else help
 
Hi im new to programming but im needing help inside my if. in the game it works it makes it so i do...
[8 replies] Last: I don't really understand. It's in the dip. (by poohpooh)
Random Number Generator
 
When running the following code block, I need the loop to produce eight different results, but I'm o...
[3 replies] Last: Thank you both very much for the answers! \m/ (by plaid311)
by opie
My Totals aren't working
 
I'm sure its something i'm not seeing. I the answers are not accumulating correctly which is not...
[4 replies] Last: Thank you. I understand what I need to do fix this. I couldn't have ... (by opie)
what's different from getch() and getchar()
 
I don't know the differents about getch() and getchar I hope someone can help me, thx!
[3 replies] Last: And conio.h is something that came originally from DOS... The conio... (by andywestken)
by opie
if else statement
 
I am trying to create a program that will generate 22 questions math problems. 1 number will range ...
[5 replies] Last: There's a misplaced bracket, isn't there? Are you closing your swit... (by andywestken)
srand
 
Here is my code but I keep getting the same number back. I would really appreciate some help. My e...
[4 replies] Last: I am sorry. I am still confused. Do I change the moveTortoise/moveHa... (by rheeler)
Problem: loop does not allow player ...
 
I have the following function in a program of mine. The function gives the player the option of indi...
[10 replies] Last: PROBLEM FIXED! Booyah. Clearing cin after each occurrence of taking ... (by Lvl80RetPaladin)
need some help
 
having dificulty in array how to make a matrix of 3*3 n find its inverse
[2 replies] Last: google it. (by andrezc)
SDL problem
 
I'm having some problem on bliting an image on to my buffer in SDL #include <SDL/SDL.h> #includ...
[1 reply] : SDL_BlitSurface(InputSurface, &InputRect, OutputSurface, &OutputRect)... (by eraggo)
Data Types Question
 
#include <iostream> using namespace std; #define PI 3.14159265358979 #define NEWLINE '\n' //...
[1 reply] : NEWLINE adds a new line to the output. If it were a text file, NEWLIN... (by webJose)
Cross Compiling
 
Hi, Have a problem related to cross compiling. Was using GCC3.3.2. When compiled, it gave an e...
[no replies]
August 2011 Pages: 1... 36373839
  Archived months: [jul2011] [sep2011]

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