Beginners - July 2014 (Page 40)

by wharp2
I have to wright a program that uses a file to find the average, Max and minimum numbers in the document.
 
I have been working on this for hours and just can not see why my min number is coming out to "0" T...
[1 reply] : Line 34: You initialize min_score to zero. number will never be < mi... (by AbstractionAnon)
PlaySound without "freeze"
 
Hi, I want to add sound to my program, but everything "freezes" until the sound is over. It prints ...
[3 replies] Last: It works, many thanks! (by Voltinus)
by h4ever
Concept of saving file names in 2D container/2D array
 
I am having images which are having two numbers for x and y position. I am going to merge these imag...
[5 replies] Last: Great. It works :-) (by h4ever)
No ASCII characters displayed
 
I am trying to make a simple console (ASCII) game and when I try to print out characters in ascii, I...
[10 replies] Last: For contrast... here's how you could do a splash screen with graphics.... (by Disch)
Copy word from Active page
 
Ok guys, you all have been very helpful with my weird questions lol. Here is another one. If I want ...
[2 replies] Last: I dont know what that means :( (by ibdv4521)
Exception Handlers
 
I am trying to grasp a better understanding of exception handlers. I have a program that is taking ...
[11 replies] Last: Very helpful! thank you for showing me my errors. I am quite new to C... (by DEnumber50)
Solution time
 
Hello, I am developing some algorithms and I want to find out how much time does each algorithm need...
[1 reply] : What to mean by "build"? Do you mean compile, or do you mean execute?... (by AbstractionAnon)
c++ book old edition
 
I am a beginner programmer. I have c++ primer plus by stephen prata the 2nd edition (1995). A lot of...
[2 replies] Last: Alright, thanks man! (by jub4jive)
How to free chain link consisting of this structure?
 
typedef struct tpatient { char* name; char* surname; TADDRESS* address; char* id; ...
[1 reply] : Create a current and temp pointer. Set current pointer to the fir... (by AbstractionAnon)
by Mikkiz
Finding largest and smallest numbers in an array and other Qs
 
Hi all, I am a beginner at C++ so please do bear with me if I do not understand your answers. Fir...
[3 replies] Last: Line 4: Your values are not a valid integers. You can't use a : in a... (by AbstractionAnon)
Prime Palindrome Stops after a few iterations
 
I can't figure out why my code appears to stop after reaching 8. The output of my code is 1 2 3 for ...
[1 reply] : for (int j = 0; j < v.size(); j++) { cout << w << " "; } i su... (by LaboPie)
fatal error: SDL.h: No such file or directory - SDL_ttf.h can't use SDL.h (and possibly neither can main.cpp)
 
This is fortunately hopefully a pretty easy problem. Basically, the compiler throws a fatal error my...
[3 replies] Last: Guys halp. I replaced (in SDL_ttf.h) #include "SDL.h" with //#inclu... (by Somniad)
How to read CSV files(notepad)
 
Can anyone help me writing a code for this program. Fields: TimeStamp,TransactionID,SYMBOL,INSTRU...
[10 replies] Last: Sorry my mistake... i meant to say i was specifically looking for this... (by aashutosh21)
Help with unresolved external symbol
 
I keep receiving error messages saying that an unresolved external link is causing my code to crash,...
[2 replies] Last: Thank you very much, I can't believe that is all that I was missing ha... (by jrossar)
I/O from file
 
I'm attempting to input a line of text from file (7 words / 2 numbers). Once input, I need to capita...
[1 reply] : Use <fstream> to get things to and from files. <string> would also be ... (by Yay295)
by FOB
Starting from scratch. What should I start studying from?
 
It's about to be my second in college after this summer. None of the classes that I have taken are r...
[1 reply] : Book wise I'd recommend in this order: Programming: Principles and Pr... (by BHX)
by Jakee
Question about threads
 
So everytime you run a C++ program by default you have 1 thread the main thread which is the whole p...
[2 replies] Last: I second what Disch said. I had a program that was taking too long to ... (by Yay295)
writing functions and classes
 
I was just wondering,do people usually write their function definitions, prototypes and classes in a...
[2 replies] Last: Alright. Ill stop writing my decelerations and definitions in main the... (by darkn3ss)
How to Join Two CSV Files Using a Unique Key
 
Objective: to join two CSV files together into a third CSV file which are based on a unique key ...
[1 reply] : So what does the code you provided even have to do with this problem? ... (by jlb)
by h4ever
Why file listing function does not work correctly?
 
I have this function running on Windows: int FILE_::findFiles(char * path) { WIN32_FIND_DATAA s...
[4 replies] Last: Definitely solved. The wildcard really works, but my problem was that ... (by h4ever)
July 2014 Pages: 1... 383940414243
  Archived months: [jun2014] [aug2014]

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