• Forum
  • General C++ Programming

General C++ Programming

New! Join the C++ community on Google+
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 writing code
 
I have my code complete pretty much but the last part is that I need to have a counter for how many ...
[1 reply] : And your question is..... Are we supposed to write you a counter or so... (by deanfvjr)
Invalid use of incomplete type 'ALLEGRO_BITMAP
 
Hi! I am learning to code and allegro and am starting to do my first legitimate game, but I need som...
[2 replies] Last: I figured it out. I needed to change map->roads to this->roads. I mean... (by deanfvjr)
Reuse a thread ?
 
Hello. I have a simple question: is it possible to "reuse" a thread, or in other words pass a diffe...
[14 replies] Last: I can't see a problem of writing multithreaded code without mutexes a... (by Luc Lieber)
by bleaz
A consise way to get stuff.
 
I am trying to write a code that asks user for the price of an item and then the state that they wan...
[19 replies] Last: Thank you for the reply and help. But I do not unerstand what the seco... (by bleaz)
SurfaceOfEarth grid program help needed
 
Would anyone know how to write this, or have a few pointers to get me started on this program...it's...
[1 reply] : no one knows how to do this??? (by Novacain605)
Insertion Sort algorithm - list of names
 
I am trying to use an insertion sort algorithm to sort out a list of names inputted by the user in t...
[2 replies] Last: Thanks very much, helios. It took me a bit of time to find out which e... (by sephiroth1134)
URGENT HELP!!!
 
This is the last thing to do this quarter and it will make a pass/fail difference for me. I need som...
[no replies]
class with custom constructor, within another class
 
Hi, I'm having trouble calling the constructor of a class within another class, that accepts some ar...
[2 replies] Last: Thanks, the initializer works very well. -B (by formerBGIuser)
Definition type
 
In short, I have no idea... Which way is faster? Func(char *str, double d, int len, bool bExtra) F...
[1 reply] : There is no difference between the parameter declarations char *str ... (by vlad from moscow)
Large scale problem with array and linked list
 
Hello everybody I have a question, can anyone help me? I write a program to solve "Shortest Path P...
[10 replies] Last: nodes is an array of linked list, it is dynamic array. If nodes is... (by cire)
by bleaz
Programming Programs
 
Hey all I was just wondering what everyone uses to write their programs? I use DEV C++ but is there ...
[3 replies] Last: Personally, i'm a fan of Microsoft Visual Studio. There are express ed... (by Thumper)
by Tazzy
C++
 
Hi I have a question for a task: It is a function of double u (double t) for any t the type to do...
[10 replies] Last: Oh thank you it`s working now, but I have one question. When I run th... (by Tazzy)
Any way to know the functions and class of a given header?
 
Say that I want to use the d3d9.h header. How can I know the functions and class/struct it has, what...
[no replies]
Using macros to declare classes?!
 
Ok this is a really interesting question that could be rather useful in the right situations but I'm...
[3 replies] Last: You mean for some kind of reflection? There wouldn't be much point ... (by Disch)
by Pain
account (username,password&information) in text file
 
hey guys i started to make a project about account banking problem: .......... the user inpu...
[no replies]
by unmogo
Can't Load dll file
 
Can someone please double check my code? It builds fine but I can't read in the dll. I haven't creat...
[no replies]
Deleting data in Data Structures
 
I know that with classes you have deconstructors, but is there anything I can use for data structure...
[1 reply] : In c++ structs have constructors and destructors too, but the dtor won... (by naraku9333)
Question on Intel Hex Records...
 
Hello C++ Forums. I come to you today with a question about Intel Hex Records. I am currently refac...
[10 replies] Last: A couple things regarding your code: You shouldn't assume that char i... (by cire)
Pages: 123... 76
  Archived months: [oct2012]