• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
help with code for robot
Hi there I'm new to C++ and I'm having trouble with some code for a small robot I'm building called ...
[no replies]
Template/Stringstream run-time error;
Calling a template function causes a run-time error of freezing Could anyone help me debug this...
[12 replies] Last: [code firstline=36] T& operator (int index){ if (!(0 <= index)|| !(... (by TheIdeasMan)
Collision Code Help
Hi, I was looking for some help in regards to some code that I have written for a replica Pong Game....
[1 reply] : You could have right after move(up) IF top < paddle.posy THEN paddle.p... (by keskiverto)
Secant method implementation problems
Hello! I have been trying to create an implementation of the secant method in C/C++, but I seem to ...
[7 replies] Last: Hi, Just a couple of things: on line 7 you make use of the comma ope... (by TheIdeasMan)
Using class and public write a c++ program that prompt the use to enter both his or her parent blood...
[1 reply] : Please note that this is not a homework site. We won't do your homewor... (by keskiverto)
by pep101
Create a reference in a class but initialize it later?
Hello! I believe one cannot do that because of compiler reasons... but anyway, can anyone help me s...
[5 replies] Last: Thanks!! (by pep101)
by leourb
For loop import txt file data
I have a problem with importing some data from txt file. Formatted file data in .txt file is: ...
[2 replies] Last: Hi Gamer2015! I wrote that way because I want to store it in my objec... (by leourb)
Else if statments don't work
I'm making a grading program for practice, and no matter what I enter, it always gives me the first ...
[6 replies] Last: The if (Grade == x) is simply a shortcut meaning "replace x with a n... (by FurryGuy)
Using C++ for amazon like forum
Hello Everybody, I am wondering is c++ good for something as of an auction website like Amazon? Whi...
[3 replies] Last: Google brings up two interesting frameworks: http://www.webtoolkit.eu... (by coder777)
Insertion & Merge
Can anyone please show me show a full operating of front end designed in C++ using all necessary cri...
[1 reply] : The "sort" part I get but "Front end" and "Criteria of Control User In... (by cnoeval)
Deleting a File
I am trying to delete a file. This code deletes the listing but not the file Private Sub Button...
[1 reply] : this is not a VBA forum but since you ask for deleting a file here's t... (by Gamer2015)
Array assignment without square brackets
I am working on an assignment that asks for a single statement to satisfy the following: Without ...
[3 replies] Last: Yer welcome. It's the stupid stuff that's the weirdest in C and C++. (... (by Duoas)
why a static function only accept external static variables?
why a static function only accept external static variables and not no-static?
[12 replies] Last: maybe that's why :P i was using the lParam (by Cambalinho)
Export data from an array to a csv file
ofstream outfile; outfile.open("C:/Users/Saad/Desktop/result.csv"); for(i=0;i<655;i++) { for(j...
[6 replies] Last: Thank you so much.... :-) (by mohdadnan111)
class and arrays
i have a button class with SetText() and GetText() and MouseClick(lambda variable) members. see thes...
[2 replies] Last: sorry no. imagine that the MouseClick() on all 'a', have the same valu... (by Cambalinho)
by kim 1
Repetition and Selection
For the "printf("Total for %d bills: RM%.2f\n",count,subtotal);" the subtotal would print out exactl...
[no replies]
How to generate non repeated numbers?
Hello guys, I am new to c++ and I was trying to make a function which generates non repeated numbers...
[7 replies] Last: Thank you so much guys, I think i have to take a look on vectors frist (by garyfang)
Atof explanation
I`m looking for explanation how this atop works: /* atof example: sine calculator */ #inc...
[1 reply] : What are you expecting as the output? (by jlb)
Link error(PPP using C++, Chapter 12)
Hi, I'm reading Bjarne Stroustrup's "Programming Principles and Practice Using C++" and I got a prob...
[4 replies] Last: JLBorges, thanks for your wibsite. Now I have at least one program tha... (by LawrenceCao)
Pages: 123... 18
  Archived months: [jun2015]