Beginners - August 2012 (Page 5)

string of user input to int array[]
 
hello i'm looking for a way to store user input such as: 1 12 100 2 into an integer array that doesn...
[3 replies] Last: Say can store up to 4 integers, you can do this: cin >> a >> a >> a... (by ToniAz)
by dean
function pointers
 
Hi guys, I am receiving this error from the compiler: ../main.cpp:51: undefined reference to `P...
[11 replies] Last: thank you all guys! (by dean)
by JackG
Call C++ from Cobol
 
Hello Experts, I am trying to call a C++ program from a Cobol program. I have searched all over f...
[3 replies] Last: hey JackG, I do not how COBOL works, but you can verify if your progra... (by dean)
My "program" keeps crashing!! pls help!!
 
I tried to make a small "program" where a person moves around the screen and you control him, but ev...
[3 replies] Last: Use the debugger to isolate the problem function by using breakpoints ... (by soranz)
Call an image from the command prompt to use while coding at .cpp file
 
I am trying to load an image via just calling the filename. I searched to find out how to do that bu...
[2 replies] Last: When you say load an image you must clarify your intentions. What do ... (by eypros)
Game help 2!
 
Hi, Sorry Im posting too much. But Ive reworked the code abit. If you have a compiler put it in and ...
[18 replies] Last: Wow Thanks Guys its actually working for me now!!!! You guys have help... (by Fallenfantasy182)
by Ch1156
cant figure this out.
 
I cant get my program to load the data in my program when i load the game, it jsut says welcom to ...
[8 replies] Last: Nevermind i figured out the other problem too. (by Ch1156)
Where did I go wrong?
 
Hello, C++ community! I am new member to the site and new to the C++ language--or any language ...
[3 replies] Last: Correct. Also, there's nothing wrong with declaring them with the oth... (by soranz)
Heisenbug
 
Greetings. I am experiencing a bug that is very frustrating to track down. My main way of tra...
[2 replies] Last: Hi there, Not sure which environment your coding in, but here's an ex... (by closed account o3hC5Di1)
by Ch1156
Im a bit confused (1,2,3)
 
I remember asking this a long time ago but i forgot, i made a function that randomly chooses a senta...
[42 replies] Last: Let's look at your two functions for save and load: void save(int &S... (by closed account o3hC5Di1)
While Loop
 
I need to find odd numbers between 0-10 using a while loop. kindly show me a sample code for this. ...
[1 reply] : Easily ! http://www.cplusplus.com/doc/tutorial/control/ (by soranz)
by gerfy1
Text Game not working
 
My game is very bad and not hard but that's besides the point. I need to find a way to get the rando...
[5 replies] Last: Hey. Sorry for the delay. To answer ur question it seems that line 8... (by soranz)
time complexity of sorting algorithm
 
I am a novice C++ programmer. Can any body tell me which one is more efficient- Merge sort or quick...
[1 reply] : it's depend on what kind of data you wanted to sort.... In generally q... (by HiteshVaghani1)
Online Tutorial vs. Quality Book
 
We are having a debate on another forum and a member is telling me online tutorials are much better ...
[4 replies] Last: I think online tutorials are a great source of material to self teach.... (by blueberry)
by samrux
String library or char* string?
 
What is better/more efficient and in what cases? String from the library or a char string (char*)?
[5 replies] Last: If all you need is to reference a string literal, without manipulating... (by Cubbi)
Could you explain how this works..?
 
I somewhat have an idea how it works. But is it really that easy to 'accidently' overwrite memory li...
[8 replies] Last: Yeah. You can find out where the page starts by rounding down to the n... (by Athar)
trying to loop my entire program (while true)
 
Hey everyone, I'm trying to loop my entire program by encapsulating it in while true braces. A...
[5 replies] Last: yeah it works for me, I hope it doesn't work for me and only me lol. ... (by RastaWolf)
something wrong!!
 
void kbc::sce() // member function of class kbc { clrscr(); ifstream ifs("SCORE.TXT"); // a fi...
[8 replies] Last: Because you didn't read the input. It remains in the buffer. You need ... (by ne555)
by samrux
Kongregate Hacks
 
1.-Some illegal stuff going on here. Reported. 2.-A guy in his first post saying he made something (...
[no replies]
Problem with Visual C++
 
Hey all! This is probably a really basic problem, but it's one I'm having trouble resolving. I just ...
[2 replies] Last: I don't use Visual C++, so I can't really tell, but you probably have ... (by samrux)
August 2012 Pages: 1... 34567... 45
  Archived months: [jul2012] [sep2012]

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