General C++ Programming (Page 3)

this is my project and i need to submit it .
my program does not printing the records of the inputs here's the code.hope someone will help #i...
[1 reply] : You need to initialize int ch; You have some crazy memory things goi... (by ultifinitus)
factorial of 1000
please help me finding the factorial of 1000 using doubly linked list in c++
[9 replies] Last: thanks bro i have completed (by dinesh9293)
by XscegX
ok so I've got to make a program that converts centimeters to inches and then converts that amount o...
[4 replies] Last: Good point, not sure why I went ahead and put the "12" on the end. I ... (by XscegX)
Doubly Linked List show item HELP!
So in my program, I have created a grocery list with the main variables being the name of the item a...
[5 replies] Last: Well your printBackward() function doesn't need to return a value sinc... (by dhayden)
by yj1214
A question about g++ -l
g++ -l I heard that this tells compiler the library name. What is it mean by library name? is it t...
[8 replies] Last: These days, every mainstream C++ compiler supports inter-procedural o... (by dhayden)
by MzDoll
Vectors and Algorithm
Hi guys, I am having problems with vectors. I am suppose to create a vector with 10 objects, which I...
[12 replies] Last: this... (by pww71)
Sorting a vector of Indeces
Lets say I have a huge vector of objects called Log. A log contains a timestamp, a category and mess...
[1 reply] : Create a functor that sorts on the proper criteria. For example: s... (by Duoas)
error LNK1561: entry point must be defined
error LNK1561: entry point must be defined - I have received this error after build solution on my p...
[2 replies] Last: Sorry, not quite understanding the *nix (by chainey35)
by yj1214
! operator
#include <iostream> bool checkSomething(){ return false; } int main(){ if(!che...
[4 replies] Last: In your original code, if(!checkSomething){ std::cout <<... (by Alrededor)
Template struct
[3 replies] Last: So first you have to read in the first line which will determine how m... (by giblit)
Runtime error in console
for example int num; std::cout<<"Please enter a number: "; std::cin>>num; when this code is...
[2 replies] Last: Yeah, the both worked. Thanks for your help @giblit (by N495t4r)
Would Like Help Proofreading My Code
I have created a function that deals with an array of pointers and I would like some help proof-read...
[11 replies] Last: instead of lines 9-14 you may simply do Objects = temp; or use std::... (by ne555)
int x =1.7 + 3; std::cout<<x; //this will print 4.7 as the value of x, how do I make the ...
[2 replies] Last: Oh my bad.. double x =1.7 + 3; std::cout<<x; //this will print 4.7 ... (by N495t4r)
by arsy
[3 replies] Last: Mark all of your code. So its blue, then press the button and hit subm... (by TarikNeaj)
Ascii Code
I'm having a bit of difficulty understanding how and why this example works. It changes all ascii le...
[2 replies] Last: It might be easier to understand if you start by writing it: text = ... (by dhayden)
ShutDown Function for All Operating Systems
Hi, I'am Writing an App in C++/Qt to Plan ShutDown (or Reboot, Sleep, PowerOff..) in specific Time o...
[3 replies] Last: The shutdown function is indeed different for each OS. I suggest you ... (by dhayden)
loan calculation
hi, i really need help on program, i messed up really bad. can anyone help me. Here is what i hav...
[2 replies] Last: You can just edit your post if you wanna update. Also, speaking of edi... (by TarikNeaj)
How to overwrite a specific line in a file?
I can overwrite the first line, but when it comes to the other lines, it doesn't overwrite. I have ...
[3 replies] Last: +1 dhayden. That is a better approach for sure. (by Disch)
by joel b
Exception Handling
Good day everyone, Please i need your help with my my code which does not recognize the exceptiona...
[3 replies] Last: Agreed. You're effectively using an exception as an "else" block, whi... (by Disch)
by Addsy
Snake game
Hey guys I'm building a snake game for a project using shapes as food. I've created cpp and hpp f...
[4 replies] Last: gotoxy is a function which sets the cursor point to position x,y (just... (by programmer007)
Pages: 12345... 54
  Archived months: [jan2015]

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