General C++ Programming - June 2011 (Page 6)

User input allows keyboard keys
 
Hi! I am working on a shell in c++ and I have a problem with user input. Everything is fine but w...
[2 replies] Last: sorry, im not sure what u mean by ..use its functions here is my c... (by iCpp7000)
text drawn in a window
 
Some of you have seen this code in a previous post. I am wondering is there a way to draw the tex...
[11 replies] Last: thank you, works perfectly now. Just for the sake of conversation..... (by closed account zwA4jE8b)
Problem with random number generation and strings
 
Hi. I could use at code review. I've just come back into programming after a year since my first...
[3 replies] Last: I haven't used Cygwin so I can't say for sure. I use Visual Studio. If... (by shacktar)
Matrix inversion in C++
 
Hi there, I'm trying to invert matrices up to 12 x 12 on an mbed MCU using C++. The program works ...
[1 reply] : Integer division. Another thing: for (i =0; i<4; i++){ if... (by ne555)
Mysql connector c++ issue
 
Hi ppl .. im having an big dificulty trying to install mysql connector c++ on my visual studio 2010 ...
[no replies]
accessing rs232 using C/C++
 
Hi, I wanted to know how to access hardware (like rs232, mouse, keyboard, usb) using a C/C++ pr...
[no replies]
programming with unusual constraints
 
I program software written by the Siemens company but I don't work for Siemens, I work for a univers...
[1 reply] : No, unless coloryourself() is virtual. (by hamsterman)
String Class - Operator + Problems
 
// // Template - // #include <cstdio> #include <cstdlib> #include <cstring> #include <iostrea...
[3 replies] Last: Actually I just realised that the tutorial on this site uses the '+' o... (by Computergeek01)
linker errors porting linux -> windows
 
Hi, I want to port my application from linux to windows, and I've succeeded with most parts all t...
[12 replies] Last: @Moschops yes main.cpp is part of the project. I tried to manually cre... (by Yours3lf)
Need help with compiler errors for a simple C++ program using strings
 
My code includes the driver.cpp (main program), Student.h, and Student.cpp files. Perhaps there is ...
[1 reply] : #ifdef STUDENT_H means " if STUDENT_H is already defined, ... ". Wha... (by hamsterman)
c++ How to read from a file placed on my desktop
 
Hi guys i want some help... I've a file named "assad.txt" on my desktop. I want to read it thro...
[4 replies] Last: Firstly, you should check if the file was opened successfully, using f... (by anonymous23323124)
Check for existence of virtual function
 
Hi, is it possible to know if a class has virtual function definition from the object of it? given t...
[4 replies] Last: A class containing at least one virtual function should have its des... (by jsmith)
destructor is randomly called
 
I want to thank all who will help me ahead of time. I wrote a ADT liked list using template. whe...
[4 replies] Last: Thank you very much I can across an article, saying something like ... (by centwing)
unidentified blocks?
 
Hi I would be thankful if you answered this question of mine: what does such a structure mean?...
[7 replies] Last: Could also be useful for forcing a deconstructor. And when using boost... (by Ikaron)
Composition VS Inheritance
 
Why Composition is said to be good ahead of inheritance. I am just learning C++ and it was said inhe...
[1 reply] : Why Composition is said to be good ahead of inheritance. I am just le... (by Disch)
String problem v2!
 
im currently coding a http uploader. everything went ok for now but i had a problem with data which ...
[3 replies] Last: @cal, i never use vector before so an example would be great ;p @... (by StoneHeart)
Get external app name from .exe
 
Hi! This is my first thread here. I have been searching half of the day now trying to find a way to ...
[10 replies] Last: Hm, that is what I was expecting, that this code was C# and not C++. ... (by GPing100)
Can't get compiler to let me be terrible
 
Hi all, I want to try to do some funky terribleness to allow user to call a function with no paramet...
[1 reply] : Sorry... failblog entry for me. Fix was simple - use proper syntax (d... (by closed account Lv0f92yv)
How & work here?
 
class A { int x; public: A& increment(int); }; I did not underst...
[4 replies] Last: Instead of returning a new A instance, it returns the address of ano... (by closed account zb0S216C)
Leaderboards
 
In college, I had an assignment to make a leaderboard with 2 arrays and for the user to be able to i...
[no replies]
June 2011 Pages: 1... 45678... 28
  Archived months: [may2011] [jul2011]

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