General C++ Programming - May 2010 (Page 22)

by Oskar
Char Pointer Printing
 
Hello! i dont understand how you can do this: #include <iostream> using namespace std; int m...
[4 replies] Last: Thank for the answer guestgulkan i know that *pName will print C. I wr... (by Oskar)
by jmalo1
c++/OpenGL on Xcode
 
I use a mac and have xcode. I know how to open up the C++ console application, but how to I add open...
[1 reply] : Add OpenGL to a console? What what what? If you want to render grap... (by Albatross)
Segfault during seemingly normal copy operation
 
I get a segfault here on line 29: #include <iostream> #include <fstream> #include <string> #i...
[3 replies] Last: Ah, I found it! You see, headers is an empty vector! The segfault is c... (by m4ster r0shi)
solve this problem
 
this is the Q: Write a function named FirstOcurence that takes as parameters an array of char(c-s...
[9 replies] Last: Okay. To put all of this in far nicer terms, most of us regulars on th... (by Albatross)
by Qu3st
Multiple definition of 'main'
 
the program i am writing is to calculate the volume of a cylinder. however, an error is occurring sa...
[4 replies] Last: thank you very much (by Qu3st)
Minsweeper text game problem
 
today i started programming a small text version of minesweeper, and even though i'm going to embara...
[1 reply] : ok i think i found how to solve it i'm going to write it here if i hav... (by subarde)
double inverted comma as strtok delimiter
 
Hello everyone, i am new to this site and to C also. I found this site very helpful. You guys are r...
[2 replies] Last: Are you escaping the quote like this: strtok(str, "\""); ... (by Galik)
Quickish Data Structure Question
 
When you implement a data structure like a linear linked list as a class is it wrong to have the lll...
[1 reply] : The general rule that applies here is the use of templates : //... (by m4ster r0shi)
dynamic memory
 
When you free the memory of dynamic memory, like: char* text = "Hello World!"; delete text; i...
[5 replies] Last: What jsmith and helios want to say about your example is that the memo... (by m4ster r0shi)
Vector as a class member
 
I have an assignment where I have two objects, and one of them has a vector as a member. I have to o...
[4 replies] Last: No problem. (by Mythios)
Dynamic memory of double array
 
Below is the dynamic memory of a single array from your tutorial, can you tell how to define for a d...
[2 replies] Last: Tks. It helps very much. (by jcheng3305)
by jbl09
what is preventing the arithmatic from displaying?
 
(code not restricted to column of text file my text file: Monday Tuesday Wednesday Thursday Frida...
[2 replies] Last: You didn't parse shit by the way. Not sure what you think you rputting... (by closed account S6k9GNh0)
average function
 
Almost completed my project. Instructor says " need to call the avg funtion before you have the valu...
[6 replies] Last: I didn't use anything to advanced (or tried not to) and gave a freebie... (by closed account S6k9GNh0)
How should I call this function into my main?
 
I need to know how to call the displayOutput function into my main function in order to display the ...
[5 replies] Last: I manged to get it to display everything except bonus pay and total pa... (by Reaper8290)
May 2010 Pages: 1... 202122
  Archived months: [apr2010] [jun2010]

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