General C++ Programming (Page 8)

Sentence Capitalizer C++
I am writing this program and need it to capitalize the first letter of each sentence, but it is not...
[4 replies] Last: Ok I am going to try that. But I thought that where I put j++ it moves... (by austinhorton24)
Stop infinite loop by pressing enter.
I wondering how to stop a infinite loop. The program clears a file then opens it and refreshes it o...
[2 replies] Last: If a key is ... (by Duoas)
New project doesn't cout any values?
I'm trying to build a new project and i installed some new libraries in it but when i try to compile...
[4 replies] Last: Uhh okkkk Do not do it like that do it like this cout << "Hello Worl... (by Mizfizz)
Operator overloading
Hey guys, I am working on an assignment in which i have to perform th following task myClass its...
[1 reply] : friend vli &vli::operator + (int &a,vli &obj); Since operator+ is ... (by nvrmnd)
by y510
Tell me whats wrong with my code plz?
slen is the array length, and I need em to input an array of characters which is S1 , array1 is the...
[4 replies] Last: now can someone help me? (by y510)
Buffer problem with getline
Hi, string input; do getline(cin,input); while (gtp_process_command(input)); For a program...
[3 replies] Last: okay... i finally solved my problem.... it wasn't a c++ problem but a ... (by Mahrgell)
HELP! Switch statement
I cannot get this program rolling to save my life! Any help would be greatly appreciated! Thanks i...
[1 reply] : You should have a load of errors here. Did you try to fix them or at l... (by MiiNiPaa)
inline asm (Fasm) with C++
Good morning everyone, Kindly be of some form of assistance to me. Here is what I wanted to know....
[1 reply] : can you do [...] inline Asm Yes. However it is compiler dependend. I ... (by MiiNiPaa)
by sky3
List class functions
My problem is when i try to call the get function i have no idea how to get the data from my file. i...
[no replies]
Creating a class
I'm pretty new to OOP and it's kind of rare for me to use C++, but I think know the basics. I'm usin...
[6 replies] Last: Yes, you can easily turn your initialize function into the constructor... (by LB)
Random function
For my final project I am supposed to design a game of War. My main question is, after reading a fil...
[2 replies] Last: Or...try a Fisher-Yates shuffle: (by long double main)
Is this correct? On line 4, should I use "int" instead of "T"? #include <iostream> using namespa...
[2 replies] Last: Thank you (by Stephanie16)
need help with a dynamic array
Hidy ho all, I'm working on a dynamic array program. very simple, and I think I just about have ...
[18 replies] Last: You can use the escape sequence "\t" to put a tab between output. Or i... (by wildblue)
reading integer value
Rkbs,5453; Wdqiz,1245; Rwds,3890; Ujma,5589; Tbzmo,1303; Vgdfz,70; Mgknxpi,3958; Nsptghk,2626; Wuzp...
[16 replies] Last: cool thanks. (by generic2709)
File linking/coding problem
This implementation file VectorBag.cpp is linked to a header file VectorBag.h which declares all...
[2 replies] Last: The problem is that my professor wrote the "VectorBag.h" file and so I... (by fizanimtiaz93)
by LB
Empty class & null pointers
If a class is empty, is it safe, or is it undefined, to cast to it from a nullptr and call member fu...
[10 replies] Last: JLBorges hit the snail on the head. I was just curious if there was an... (by LB)
by approa
problem 3 euler
//why is this not working? // euler problem 3. // there are no ...
[3 replies] Last: int s are typically 32-bit. int s= 600851475143 This number is wa... (by Disch)
2-dim array display output for matching game
I am creating a matching game, using US States and a 2-dim array. As you can see, when the below ...
[3 replies] Last: Some screenshots of the problem will probably help me find your proble... (by Mats)
by Subo93
2D array calculation
/*when I compile this it gives a error message.. /tmp/ccxagark.o:os.cpp:(.text+0x2e): undefined r...
[1 reply] : Your declaration and implementation do not agree. void calincremen... (by AbstractionAnon)
by chhe
2d vector adding columns
I have a basic question regarding 2d vectors. The following code makes a 2d vector and fills it with...
[5 replies] Last: Well you weren't specific how you wanted it. To do that you will have ... (by giblit)
Pages: 1... 678910... 58
  Archived months: [feb2014]

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