General C++ Programming (Page 8)

function call, header, and prototypes!
 
I'm writing a code for the problem below and I have two issues a- function header, prototypes, and c...
[no replies]
Problem with string array sorting
 
I am trying to read information in from a file, each line of which contains a name in the form 'last...
[2 replies] Last: In looking at the code further, I see a couple of problems... for the... (by markj)
Deleting the line numbers in C++
 
Does anybody know how to get around having to delete each number if I was to copy and paste a header...
[2 replies] Last: Im sry I don't know what you mean "with your installation". I cannot d... (by demondiamond)
Problem reading 10 000 binary files
 
Hi Windows 7, 64 bits, Visual Studio 10. I have a problem to read a large number of binary files, ...
[4 replies] Last: You may need to increase a resource- the number of file handles in th... (by markj)
Need help! Error within class
 
How can i fix this issue? currently i have my public/private class constructed and now trying to ju...
[no replies]
by iFuz
Crash Help
 
I'm trying to make an templated class of List and trying to make a list of Students(another class) w...
[1 reply] : Student(char *n = 0, int r = 0) { rollno = r; name = new char[s... (by ne555)
printing rows and columns
 
i have some data like names, rounds and marks. i want to display it on the output window like this ...
[2 replies] Last: k...thanks..:) (by praneshiitm)
C++ Project - File Seperating
 
Simple Question!!! How do i seperate files in my project for example if having multiple .cpp a...
[4 replies] Last: Hi, Normally in C++, class declarations (definitions from your other ... (by TheIdeasMan)
the backspace character
 
In the following char array, notice the use of a backspace character in a string literal: '\b'. ...
[1 reply] : No. The compiler just inserts ASCII code 0x08 into the string, which "... (by Zhuge)
Multiplying an array by 10
 
#include <iostream> #include <cstdlib> using namespace std; int myArr ; int main(){ f...
[3 replies] Last: Ok thank you so much Smac89! Job well done. (by demondiamond)
strcmp problem I'm having...
 
void inCript(string message) { //Feed the message to be encrypted int num; int mesLen;...
[1 reply] : This doesn't have anything to do with strcmp . On line 10 you attemp... (by cire)
codeblocks sdl(Cannot find lSDlmain)
 
I just got setup with sdl and i am receiving an error which tells me cannot find lsdl2main etc.. I a...
[no replies]
how does clock return the same value every 72 minutes?
 
I am reading up on the clock() function: http://www.tutorialspoint.com/c_standard_library/c_funct...
[2 replies] Last: The maximum value that can be returned by std::clock() is std::nume... (by JLBorges)
How can I get the pointer that an iterator points to and store it in a pointer variable?
 
I'm making a system like twitter for class called ShoutOut.com I want to be able to get the PublicSh...
[3 replies] Last: PublicShoutOut* pPSO = &(*start); Just dereference the iterator to ... (by fun2code)
why does this crash?
 
hi there, I'm working with sse2 code, and for some reason this code crashes and I have no clue why....
[3 replies] Last: Yeah it works for Coliru and other online platforms... it's really wei... (by Yours3lf)
by rgt13
help help
 
Im tired of this class and i just want to be done with it. can anyone help me write this progr...
[1 reply] : Please note, that this is not a homework site. We won't do your homewo... (by MiiNiPaa)
by Cpper
SDL Sprite Stays there
 
#include "SDL/SDL.h" int main(int argc, char *args ){ SDL_Init(SDL_INIT_EVERYTHING); ...
[1 reply] : If you're using SDL 1.x, you're doing it wrong. Use SDL2. It's newer, ... (by Fredbill)
A call to a string names in a class not display
 
Hi, Please I created class called students which suppose to store students names of any sizes in an...
[1 reply] : Your showNames function returns the first name, and that's it.... (by LB)
by fafner
Moving from C++ to C -> extremely slow
 
I've been working on a path tracer project for the few days, and since I ultimately want it to run o...
[2 replies] Last: I wanted to do it so that when I move my rendering code over to an Ope... (by fafner)
how to init this??
 
if(item=='a') { statements } this is worikig how to input a code?? like if(item=='AK012')...
[2 replies] Last: HI JLBorges. thanks for quick reply its works thanks (by yasintha9)
Pages: 1... 678910... 68
  Archived months: [feb2014]

Cannot post in this page. To post a new message, go to the first page.