Beginners - March 2011 (Page 16)

I want to programming a Playstation 2 gamepad but with USB.
 
Hi. Does anyone know of website concerning the gamepad ? I ask because I am not happy with the windo...
[1 reply] : Most gaming libs worth using have an API for using gamepads. The li... (by Disch)
Mad libs program
 
I'm writing a program that reads txt file that has a mad libs story in it like this Zoos are plac...
[4 replies] Last: It reads reads a file that has a mad Libs story and then based on what... (by ElectricClam148)
First post for me! I need help with this code!
 
Hi, I'm a computer engineering student who happens to be taking his first programming course ever...
[16 replies] Last: Yes (by guestgulkan)
Basic stock market game
 
Hello! I'm new to c++. For the last few days, I've been doing some very basic programs, such as a...
[2 replies] Last: Thank you! I've been trying to find the problem, until you mentioned ... (by closed account NURL1hU5)
Audio Manipulation In C++
 
Hi all. I hope this is the right place to post this. I am a music technology student and I've rec...
[3 replies] Last: I'm not sure what you're asking. If you're familiar with the structur... (by Disch)
Problem with while loop and if.
 
Hi. I have a problem processing some while and if statements. I have created two lists (nodes) c...
[1 reply] : I am assuming stack1 is of type char*. If it is of this type, then yo... (by webJose)
static functions?
 
What is the difference between a normal and static function? Most people try to explain it in ter...
[2 replies] Last: In regular C (no classes), a static variable or function is a variable... (by webJose)
Breaking line in C/C++ code...
 
Today my question is a bit C-oriented (although it applies for C++)... I know line break or new lin...
[9 replies] Last: Thank you. I received my answer by reading just the first three replie... (by Zia Ur Rehman)
pass and return array in a function
 
I am having two matrices, A, B. I would like to pass A and B into a function, which calculate C=A-B,...
[2 replies] Last: Some template magic could also be useful here... template <class T, ... (by m4ster r0shi)
Student Struct Passing to an Array
 
Write a program that inputs students’ names followed by their test scores. The program should outp...
[2 replies] Last: Thanks i will give it a go if i have any questions i will post them (by jaimesharp)
by ogward
remove elements from an array
 
Hi! I have this function { int pos=-1; for(int i=0;i<this->nrOfDiets;i++) { if(name==thi...
[2 replies] Last: It works, thanks a lot! (by ogward)
by ogward
remove elements from an array
 
Hi! I have this function { int pos=-1; for(int i=0;i<this->nrOfDiets;i++) { if(name==thi...
[no replies]
Referencing the calling object within a function
 
I'm creating a fraction class from scratch, and, in doing so, defining operator +,-,*,/ (and += etc)...
[3 replies] Last: I don't know what you mean but you need to write it like so (*this)+=... (by coder777)
Application not closing down correctly
 
Hey there, I have recently been building an asteroids game. Before last night, it would close down f...
[4 replies] Last: ty98 (38) Mar 21, 2011 at 11:25pm I would say you have a bug! T... (by Chazzmundo)
a can not be explicitly specialized issue
 
My code as follows,and the compiler shows "C2910: 'Gobj<std::string>::operator ' : cannot be explic...
[2 replies] Last: I'm very appreciated . you gave me such sufficiency explaination more ... (by gelenbertang)
How can I get the sum of the numbers?
 
In this program you can type in any non-negative integer and it will go through the formulas inside ...
[3 replies] Last: You don't do anything with 'sum' not even intialization. -> sum = 0; ... (by coder777)
undefined reference
 
#include <iostream> 2 #include <new> 3 4 5 using namespace std; 6 7 8 clas...
[2 replies] Last: Your Signleton class contains pointers to itself, not some data type l... (by firedraco)
undefined reference
 
#include <iostream> 2 #include <new> 3 4 5 using namespace std; 6 7 8 clas...
[2 replies] Last: line 13 doesn't have a body like so: Singleton() { } (by coder777)
by cc89
Accessing overloaded operator through pointer
 
I'm using the tcp::iostream from boost to send a message to a server, but i'm getting a weird issue ...
[2 replies] Last: Due to the syntax of the way you're calling it: conn->operator << mu... (by Disch)
how to get out and print
 
I am writing a program that will print out a normal equation into Reverse polish notation....My prob...
[no replies]
March 2011 Pages: 1... 1415161718... 52
  Archived months: [feb2011] [apr2011]

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