General C++ Programming - May 2013 (Page 33)

Xcode compile problem - basic c++
 
Hi guys, I am new to c++, and I have been going through some basic code to get used to the syntax ...
[5 replies] Last: Since you're using XCode, are you sure you've created a C++ project an... (by Lodger)
by mrm40
how to give equation to a program
 
How can i give an equation to calculate? For example: cin>> equation; //equation is y = 5*(x/2); ...
[6 replies] Last: @reham: till i complete my code you can see the algorithm I'm going to... (by mrm40)
accessing pixel values
 
Hey I have tried everything and i still can't access pixel RGB values in float format. i tried...
[4 replies] Last: Thanks, i will take a look at those sites, opencv is soo annoying beca... (by asda333)
C++ compiler?
 
Hello! I am just starting out with C++. I'm trying to configure NetBeans, but it needs a compiler...
[5 replies] Last: http://tdm-gcc.tdragon.net/ (by closed account 1yR4jE8b)
Passing parameters to a thread
 
I've been using threading for a while, that was no needing parameters.. so I used for example the f...
[2 replies] Last: I don't think this is standard C++. I guess I can only show you C++11 ... (by Bourgond Aries)
by jombyy
error C2447: '{' : missing function header (old-style formal list?)
 
: error C2447:warning C4518: 'double ' : storage-class or type specifier(s) unexpected here; ignore...
[3 replies] Last: #include <iostream.h> #include <iostream.h> int main () double... (by MiiNiPaa)
code for animation
 
can anyone help me with a code for animation which i can understand and develop my own plz if...
[2 replies] Last: ok thanks but i cant understand these tutorials (by closed account ENADjE8b)
How to write a general code for time complexity of a program
 
Hey, Can someone help me with a general code for a program time complexity;I need a function to calc...
[3 replies] Last: Well, there is already ready code fore you. What do you have problems ... (by MiiNiPaa)
HELP
 
i read atleast three C++ books and all are the same i dont see how to put images or animated and...
[3 replies] Last: do i have to draw everything that appeas in my game? or my program (by closed account ENADjE8b)
Some Inheritance Issues
 
Here is a class defenition: #ifndef __SHORTEST_PATH_H__ #define __SHORTEST_PATH_H__ #include "...
[2 replies] Last: Thank you, fixed the errors. The reason why the second error existed w... (by Spring08)
Do I understand this?
 
Do I understand this right, why #pragma once is useful? Its because if you have two files inclu...
[10 replies] Last: http://www.cplusplus.com/forum/general/91224/ (by CroCo)
by Jace
Text Adventure
 
I am working on a text adventure right now, and it's pretty good if I do say so myself. But right no...
[2 replies] Last: I'm trying to make it so that after 10 seconds it'll go to the timerun... (by Jace)
Classes, pointers
 
will this work? class apple { ... int * locationOfSeed; ... };
[3 replies] Last: I knew. I just didn't know if pointers could be members. (by jsprogrammer)
accessing vector objects via a pointer
 
I have a pointer to a vector of objects, each object has an array and a couple of strings. I am uns...
[2 replies] Last: Cheers, that's sorted me out. (by Crakrjack)
Is my sorting of linked list CORRECT?
 
Condition p->next!=NULL (highlighted in RED color) isn't necessary in my code. Have I done absolut...
[no replies]
Map not loading correctly?
 
For my BST-tree based map, whenever I load in my data from a file, it reads everything in, but the o...
[4 replies] Last: Let's say MapA has: key = a value = b MapB: key = c value = d when I... (by Imagine)
by Krahl
Save file as binary data
 
Hello, I have an Obj object and I've written the following functions to save the data of the object...
[no replies]
Problem with jumping
 
I am working on a platformer using C++ and Allegro 5. So far the camera works, as well as drawing th...
[1 reply] : Anybody? (by link5019)
please help me topologcal sort
 
please help i must add topological sort this code but i can't.please help #include <iost...
[no replies]
Simple, but fast, sort of doubles in std::vector
 
Hi, I am currently working on a "statistics" library, and, for some things I hope to do in it, I ne...
[2 replies] Last: std::sort is the fastest, but merge sort is the fastest basic sorting ... (by Imagine)
May 2013 Pages: 1... 3132333435... 47
  Archived months: [apr2013] [jun2013]

This is an archived page. To post a new message, go to the current page.