General C++ Programming - September 2011 (Page 14)

by Tingle
MySQL++ - Run-Time Check Failure #2 - Stack around the variable was corrupted
 
Hello, im having issues with MySQL++ and desperately need help. I'm using Visual Studio 2010, MySQL++ v3.1.0 and MySQL v5.1.59( x86 & x64 ); All Library's hav...
[3 replies] Last: Ok, I've done some more debugging and created a fresh console project.... (by Tingle)
**** c++ binary parse trees help PLEASE URGENT??
 
**********PLEASE HELP********** SORRY I TRIED TO INDENT THE CODE BUT IT DIDNT WORK OUT I am trying to make a binary tree for conversion of postfix to infix....
[3 replies] Last: I see your problem: You're trying to build a tree with local variables... (by coder777)
using STL iterators inside a template function
 
Hello to everyone, I need to create a template function that iterate items of a list and save all items in a file. This is what I wrote: template <class Item...
[3 replies] Last: Thank you for your help, I solved by declaring _nhit and _nhend in thi... (by maximilianus)
Cannot compile....
 
#include <iostream> #include <string> using namespace std; struct node { struct node *next; int info; }; void append(struct node **head, int...
[1 reply] : findgreatest() has no knowledge of "max" defined in main(). I think yo... (by hamsterman)
Leap Year Program C++
 
Hey, I need to write a program that tells whether it's a leap year or not. But I'm not quite sure how. If someone could point me in the write direction that'd ...
[14 replies] Last: @azagaros Pseudo code is not pure english (read: croatian). Here in cr... (by closed account 10oTURfi)
24 game error
 
This is a program I (beginner) am trying to write, which finds how to make the number stored in <goal> (usually 24) from 4 other numbers, using +, -, *, /, an...
[3 replies] Last: thanks cder777... haven't been on cplusplus for a while, but I tried c... (by Wildebai)
Please help ASAP, program won't quit correctly
 
OK, so after I enter a number the first time, the table is displayed and I'm prompted for a new number. I use the 'q' command for quit the second time and it di...
[1 reply] : You are entering into an integer (unsigned long long) to be exact, whi... (by Zhuge)
Access to a shared folder on other computer
 
Can someone send me a example of how to copy a file from a remote folder to other remote folder? For example: I am running MyProgram on MyComputer and this prog...
[7 replies] Last: If you want to use a name like \\192.168.x.x\mySharedFolder, then it m... (by kbw)
by broot
not sure what this syntax means
 
I've never seen a function declared like this, specifically the (*visit)(int&) void inorder(void (*visit)(int &)); what is this called? how does it work? ...
[3 replies] Last: ah ok. thanks guys. I've never used a function pointer before. Now I k... (by broot)
Terminating a loop with q command
 
OK, so for our assignment we are asked to make a loop where it continues to prompt the user for an unsigned long long. After they give their number, a table is ...
[3 replies] Last: Start here: http://www.cplusplus.com/articles/D9j2Nwbp/ Look at the st... (by Zhuge)
by ID HDP
Multiple if statements
 
I'm trying to make a text based adventure game and I would like the player to pick a class. Is it possible to make multiple if statements and one else statemen...
[2 replies] Last: Thanks! (by ID HDP)
Perfectly defined class comes up as undefined
 
Hello :D I have a really REALLY weird problem that I am really frustrated by. I am a novice programmer, and I decided to mess with some classes... Anyway, long ...
[5 replies] Last: Thanks a lot, I will read tommorow first thing in the morning [Its 3 A... (by frozenarmageddon)
**** c++ binary parse trees help PLEASE URGENT??
 
SORRY I TRIED TO INDENT THE CODE BUT IT DIDNT WORK OUT I am trying to make a binary tree for conversion of postfix to infix. the binary trees class is as follo...
[no replies]
[win32] Using GDI to Draw Frame
 
I am not too familiar with windows' graphic API, right now I am using the traditional library (GDI) to achieve what I want to do. I am trying to create a cu...
[3 replies] Last: The problem with GDI is it's incapable of vector graphics and anti-ali... (by gpotw)
C++ put character positions into memory, line after line?
 
I have some code that reads from a large text file like this: 9758740009416740011848200935694 856567567034945668884234566556 ... The code decompos...
[6 replies] Last: Thanks. Helios (the Sun) rocks! (by grigorianvlad)
4 errors.
 
Hi i am very new to programing and I just wrote my second ever code and am getting some strange errors. The error i am getting in line 38 is "error: expected ";...
[3 replies] Last: Other notations don't use 'or' for '||' and learn to write them correc... (by Azagaros)
Finite State Engine Buckland
 
Hello I have decided to learn c++ on my own and am very new to the topic, i got bucklands game AI book. I am stuck at the fsm part. I found this project on the...
[1 reply] : Have you read the two books that go with that class, which are availab... (by Azagaros)
Pointers and Dynamic Memory Allocation
 
Hello, I need some help sorting the values i have stored in my pointer array
[14 replies] Last: Are you also required to use an array? Otherwise you could just plop ... (by ascii)
Help with Code
 
Revised post: Got it!!! I removed the code because I cant run the risk of other people turning in the exact same thing since this a current assignment. - ok to...
[3 replies] Last: [quote=Framework]And you're having trouble with... ? (by hanst99)
by valery
multimap problem
 
Hi, maybe someone could help me understand what is wrong here. Below is a simple multimap studsubj, and I compare word_1,word_2 word_3 with it. I give these ...
[no replies]
September 2011 Pages: 1... 1213141516... 31
  Archived months: [aug2011] [oct2011]

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