General C++ Programming - January 2012 (Page 14)

Sorting arrays
 
Hello, I'm writing a program that i need to sort out the different lengths of the list of words in m...
[1 reply] : #include <algorithm> int main() { int MyArr = {2,4,3,5,6,1,... (by LB)
Writing Functions
 
I need help to write functions returning the fahrenheit value of a celcius temperature, and another ...
[4 replies] Last: Yes. You would have to replace double with float in the code above... (by Moschops)
What is meant by an unsigned int?
 
When they say the vector class member function size() returns an unsigned int, what exactly does tha...
[4 replies] Last: be aware that you can pass a non-positive value to unsigned int and co... (by codekiddy)
Take template parameter from User
 
Hi, I have a class whose template parameter I want to take from the user. Problem is these templa...
[5 replies] Last: template<typename T>class my_class : public super{}; super* getTempla... (by ne555)
by NYP
can anyone help me with this error?
 
#include <stdio.h> #include <ctype.h> #include <string.h> #include<cstdio> #include <stdint.h> ...
[4 replies] Last: [quote=eypros]Use #define LENGTH 20 instead Just to reiterate, I ... (by Disch)
can anyone help me with this?
 
http://s1236.photobucket.com/albums/ff451/threatn/?action=view&current=112.png i have no idea how t...
[2 replies] Last: can u just give me the code for this question in C language? if you do... (by imbaegod)
TCP Listeners with Multiple NIC Cards
 
I've run into a snag with some TCP Listeners that I have deployed under a "real world" testing basis...
[no replies]
by drfrev
get Webcam info
 
I have a few questions about using webcams with visual studios express: 1) What would be the fast...
[2 replies] Last: If you are going to be using .Net you might as well use C#, might as w... (by closed account o1vk4iN6)
learning oops
 
i want to start learning object oriented programming and working with txt files i just have a li...
[5 replies] Last: OOP = Object Oriented Programming Oops = to acknowledge clumsiness: ... (by ResidentBiscuit)
why do we use pointers in array
 
hello everyone, i m new to this forum as well as new in c, but i have a question that why we use po...
[1 reply] : Because it's easy and convenient. (by Moschops)
DFA simulation in c++
 
My program tries to simulate a DFA in c++. This DFA has two alphabets (0, 1) and different states an...
[no replies]
Declaration is incompatible error
 
Whenever I compile this, the skeleton class and the player class cannot pass the respective other ob...
[2 replies] Last: Thanks. That did the trick. (by sikuneh)
size_t
 
I want to know about size_t. What is it?? a daatype or anything else?? Please post if anyone has an ...
[7 replies] Last: Thank u all.. (by Abhijit Kulkarni)
SDL Bullet Movement O.o
 
Hey guys, I'm trying to make a little space shooter, and I've gotten asteroids and the player to ...
[7 replies] Last: Lol, I ended up making a strafe beam.... good enough :D (by Code Assassin)
SDL while loop confusion
 
hello, i was wondering why in SDL where you have your main game loop, it doesnt do the code billions...
[5 replies] Last: I have coded in SDL and the loop will behave as it always does in C++. (by Peter87)
Windows is triggering a breakpoint in my program
 
I created a MFC Application and connect it with ODBC Database, but when I input data shows this mess...
[no replies]
Data Structure for Side Scrolling Game
 
Hi, I have a programming assignment that wants us to create a very basic console-based side scrol...
[no replies]
by tahac
function...
 
what do the get& cin.get functions? is they give string or array? HOW?????
[2 replies] Last: http://www.cplusplus.com/reference/iostream/istream/get/ (by Athar)
by tahac
string
 
i want check all of member string for find "."character. how i does it??
[1 reply] : dis is how you does it: http://www.cplusplus.com/reference/string/s... (by Code Assassin)
Have you used the Boost libraries?
 
Post from Dave Abrahams on the Boost mailing list: Folks, I was just informed that Boost is a t...
[1 reply] : It's the only project I've ever heard about from that list, so it's na... (by Athar)
January 2012 Pages: 1... 1213141516... 36
  Archived months: [dec2011] [feb2012]

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