General C++ Programming (Page 3)

New! Join the C++ community on Google+
by dantay
Random char array generator
 
I was wondering if some one could help me out and let me know what I am doing wrong. I am new c++ so...
[1 reply] : Add srand (time(NULL)); as first line inside main() oe else you will a... (by modoran)
by zAMLz
Hey ASCII RPG Game
 
So hey everyone...I am making an ASCII based PRG and thought i should show it to the C++ Community. ...
[2 replies] Last: it is available...its in the youtube description... ill post it here a... (by zAMLz)
by game
Making array with Uknown size and order it
 
Dear Users and developers I want to make an array from Unknown size and order ascending order....
[16 replies] Last: Dear Guys , Thank you very much for your correction and comments! ... (by game)
Portability of truncation of cast: (int)myFloat
 
I have some functions that depend on the truncation as opposed to rounding when casting a float to a...
[1 reply] : It's in the standard. An rvalue of a floating point type can be con... (by Branflakes91093)
by amzar
linked list
 
hello, i'm new to c++. is there any possible to add searching function for linked list coding below?...
[no replies]
its opening in notepad
 
i am making my program using dev c++ but when i open it, it opens in the notepad not in the dev c++ ...
[2 replies] Last: i tried it already but it cant.. (by narcisa)
i want to understand this -simple thread-safe wrapper for an array- inside out, where do i start?
 
i know basic c++ but the only word in simple thread-safe wrapper for an array i know is array i...
[2 replies] Last: so can i just straight up build this as though it was someting like a ... (by devonrevenge)
by Ali93
How to print slowly
 
Hi Guys A few days ago i saw a program that printing(cout) words slowly In normal cout - it wi...
[12 replies] Last: I have an assignment and i add this to make it more attractive at the... (by cnoeval)
I'm attempting to run example code, but Boost's graphing library doesn't like it
 
I want to preface this by saying that I have some experience with C++, but I'm new to Linux and the ...
[2 replies] Last: Looks like an interesting library, I'll get it if I find the time. If ... (by Cubbi)
aritmetic operation about
 
The code: #include <iostream> using namespace std; int main() { double a, b, c, d; a ...
[1 reply] : You can increase the precision in your cout.precision() function. Howe... (by Stewbond)
VC++ call external application
 
Hi, I am using Visual C++ 2010. I need to call an external application (.exe) in my code. I tried...
[1 reply] : #include <windows.h> Then use CreateProcess() http://msdn.microso... (by Stewbond)
AvL Tree Deletion ISSUE
 
As you know how avl should be balanced after deletion of a node, I'll get to point. For starting, Im...
[no replies]
who can solve it?
 
write a program to print out the value of ln(x) and log(x) for any three diffrent values of X
[2 replies] Last: #include <iostream> using namespace std; int main() { double x; c... (by Stewbond)
8-bit-like sound in C++ with multithreading
 
Hello everybody, I want to create a program that can make 8-bit sounds. I want to use the Beep ...
[no replies]
Can someone help me make this program?
 
You have a pumpkin patch in FarmVille and are looking for the biggest pumpkin. You must create a pro...
[no replies]
by TeddyX
Problem with seating array function
 
Hello. I am new to this forum, but have viewed many posts in the past regarding code. My scenario is...
[no replies]
why is this program not working for all n??
 
Why is this c++ program not working? include <iostream> #include <stdlib.h> using namespace std; int...
[2 replies] Last: thank you very much! (by mohamadh95)
How to make a series like this?
 
5 7 9 9 11 13 11 13 15 17 13 15 17 19 21
[1 reply] : using namespace std; int main() {int n,i=1,k,j=0; cin>>n; k=n; whil... (by mohamadh95)
Can someone please explain this code.
 
So heres the code. It first creates and array of items typedef unsingned long Item ; int mai...
[1 reply] : This piece of code doesn't really make sense to me. What the pop func... (by Machtl)
SDL Mob Class
 
How would I make Mobs from this code? I know I can use vectors but how would that make every single ...
[9 replies] Last: Thanks, I'll test out the concept later when I get home from school. (by Fredbill30)
Pages: 12345... 76
  Archived months: [oct2012]

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