Beginners - April 2009 (Page 17)

My first code
 
its really simple, i call it the lol calculator. here is the code: #include <iostream> using namespace std; int a; int main(){ int b; in...
[no replies]
Library System Source code
 
Hey I have done this project in python, and i think there is a converter never messed with it, but I am trying to help out my friend since he is in class now, f...
[1 reply] : I have done this before, i just need a template or some source code t... (by kempofighter)
Problem with RPG
 
I would like make my game "keep" acting without having I to press a button. How can I do it?
[10 replies] Last: Well, becausae I found more info about SDL, I installed it. However, t... (by Tarou San)
Program crashing at startup
 
So I'm doing a test app in the console for an rpg inventory system befor I move into the GUI zone and after debugging all the code, it starts up, and then crash...
[3 replies] Last: The addItem function's design makes no sense to me. Why are you incre... (by kempofighter)
class inheritance project need explanation
 
I am currently taking a c++ and was jusy recently given an assignment using class inheritance. was wondering if anyone could help explain what im doin wrong. ...
[4 replies] Last: You guys work too hard :$ (by closed account S6k9GNh0)
Dynamic Arrays
 
I'm writing a function to set up a dynamic array and a separate function to to print out this dynamic array. my problem is the print function wont recognize my ...
[3 replies] Last: inline int*& Module::modulearray(void) { struct Modules //struct ... (by kempofighter)
Duplicate scancodes using _getch()
 
Hi guys, Using the function _getch(), I get the same scancode for both the F12 key and Control-Page Up. To me this appears to be a bug in _getch(). Is ...
[5 replies] Last: Okay I did a bit of checking around, and I guess what you are referrin... (by rootboy)
Virtual key press test (1,2)
 
I searched for this and can't seem to find it...What is the code that's used for a key press by a user? I tried this: #include <iostream> #include <windows...
[22 replies] Last: did you try it?? (by writetonsharma)
Mason
 
I want to know if there are any Masons that can help me with programming?
[4 replies] Last: hehehehe... thats funny... (by writetonsharma)
selective input?
 
Hi guys im a beginner in c++ and im practicing making a little program in which I input a time in which I want my pc shutdown in a format like hh:mm and the pro...
[2 replies] Last: I didnt know that if you use the cin.ignore you could assign the next ... (by RaptorX)
by mietas
Pipes, and pumps visualisation
 
Hello I am about to make a software that controls water pumps and i need to make a visualisation of pipes. for example, if there is water in pipe, if the pum...
[2 replies] Last: ncursesw is just the right solution for me. thanks. (by mietas)
by Dodle
Creating an icon in the titlebar? - Windows XP
 
I created a resource file (icon.rc) and added the following line: IDI_ICON1 ICON DISCARDABLE "include/icon.ico" With this I can create an icon for my ex...
[4 replies] Last: do like this: WNDCLASS wcl = {CS_HREDRAW|CS_VREDRAW,(WNDPROC)WndPro... (by writetonsharma)
[Example] Class C++
 
.h #include <cstdlib> #include <iostream> #include <string> using namespace std; class Soma { float valor1; float valor2; public: Soma(flo...
[1 reply] : what help you need here? Note: use code tags to post code.... (by writetonsharma)
by Spyder
Cannot convert Char to Int
 
Hello All, This is my first real C++ program which I am building from a very simple example I found on the net. I've already run into a problem which i'm no...
[3 replies] Last: Thanks for that, I knew it was something simple but it was just eludin... (by Spyder)
[Example] Class C++ with .cpp and .h files
 
.cpp #include "teste.h" #include <iostream> #include <cstdlib> #include <string> using namespace std; Aluno::Aluno(string nom, string curs, int idad) ...
[no replies]
by Dodle
Setting styles in wxWidgets?
 
I've been using wxWidgets with Python, but wanted to learn C++ while retaining wx. I'm having a problem figuring out how to set styles for wxTextCtrl. I want ...
[2 replies] Last: Thank you Disch, that is helpful. I was hoping there was a way to do ... (by Dodle)
by mdgdoc
Some Guideance Please
 
I need this code to be in a call to function format. I have worked on this a hours and can not get it to properly function. Any help would be great.Thanks / ...
[no replies]
writing 'goto' function for text-RPG
 
BACKGROUND and SYSTEM: I am using DEV-C++ on Windows XP to create an old-styled text-RPG as a console application. I am soley self-studying from the "C++ All-I...
[2 replies] Last: That is a good idea, I may end up doing that, but I still think I'm go... (by TriangleGames)
Serendipity Booksellers
 
Does any1 have a completed project for this? Can you please send it to me at markosamardzic@hotmail.com if you do... THANK YOU
[no replies]
by roc
why we use getch?
 
please i 'm a beginner and i want to know why we use getch(using of getch)?with an example
[4 replies] Last: thank u gumbercules , thank u bazzy. (by roc)
April 2009 Pages: 1... 1516171819... 28
  Archived months: [mar2009] [may2009]

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