General C++ Programming - December 2010 (Page 12)

fatal error C1075: end of file found before the left brace '{'
 
I really don't know what is going on with this guys. I know there is still a little bit of work to b...
[3 replies] Last: Thanks guys. The program is running now.. Just need to sort some oth... (by Kevmesh)
by Bunty
How to pass std::smart_pointer to a library function accepting void*
 
Example: class A() { std::shared_ptr<A> x; void passShPtr() { recessive_from(x); } ...
[1 reply] : well, shared_ptr has a get() function for the underlying pointer. B... (by coder777)
by aj3423
about boost regex iterator
 
Hi, I have a html tag: string html = " <a target=\"_blank\" href=\"http://www.google.com\"> "; an...
[no replies]
Sending commands to a CoD server
 
I decided to try to make a rcon tool for my clan. I'm working on the interface right now, and that's...
[3 replies] Last: Once you get your sockets up and running, you would want to think of t... (by sohguanh)
by alnews
Strange behaviour of overloaded '>>' operator.
 
Hello guys, I'm just getting in overloading, I'm trying to overload the stream, sum and product ope...
[3 replies] Last: It's the enter key. It was still unread, so you should clear the buffe... (by rocketboy9000)
Problem with Backtracking!
 
Hello, i have a homework to do, and im really messed up! I need to do the knight's game void ...
[no replies]
by MissG
Saving a string to file?
 
void ascii (int number); bool raffle (int number); const int cArray=5; int main () {...
[2 replies] Last: Wolfgang, Thank you so much! I made the changes you suggested and it ... (by MissG)
Data file
 
Can you take a look at my work below and post your thoughts? I am new to C++ and the assignment is t...
[1 reply] : is the file really there, is it made out of numbers, are you sure ther... (by hamsterman)
generate reports
 
I do not know any way to generate reports automatically, wanted an indication of a tool or library f...
[7 replies] Last: Qt has printing to PDFs built in IIRC. Just set the output to pdf in q... (by closed account z05DSL3A)
Is it possible to make two member functions of two classes each other's friend?
 
Hi, all: I am troubled by the following problem. Suppose I have two classes X, Y both have a priv...
[2 replies] Last: Thank you so much! That's indeed enlightening! (by mathwang2)
Doubt about delete keyword and char*
 
Hi, In the code snippet below, the program gets crashed at delete operator.What would be the possib...
[7 replies] Last: Thanks a lot u all! (by dearvivekkumar)
by trig
making a GUI program, what program should i use
 
Hi, basiclly i am making a GUI program that has multi touch functions, but i dont know which would b...
[4 replies] Last: Hi, thanks for your reply I am not a completely new started i under... (by trig)
Runtime error with Activator::CreateInstance
 
Hi all, I have taken over a piece of code developed by a contractor. This code appears to run fin...
[no replies]
by goldn
compiler error: undefined reference to etc...
 
I'm new to c++ programming and started to work my way through the book Accelerated C++. When I tried...
[2 replies] Last: Edited, yes I did include Student_info.h When I searched to find a so... (by goldn)
segmentation fault
 
I get segmentation fault with this code: #include <iostream> #include <fstream> #include <strin...
[3 replies] Last: It was indeed what kbw was thinking off, thx for the help guys! (by Toongun)
by primes
nothing
 
nothing
[2 replies] Last: Are you expecting someone to do your homework for you? (by closed account z05DSL3A)
Dynamic memory allocation
 
I was studying for my exam, and I came across the following question: How many instances of MyCla...
[6 replies] Last: Thanks. (by dalbir4444)
by kdub
dynamic method binding in destructor (or lack thereof?)
 
Hello, Could anyone shed light on any different static and dynamic binding rules during execution...
[3 replies] Last: Ok. So, I can't expect the overriding method to be called. Thanks, j... (by kdub)
code not compiling when i run it
 
#include <iostream> #include <string> #include <stdio.h> #include "GeneralHashFunctions.h" u...
[3 replies] Last: first DJBHash() results an unsigned int you should stick to it whe... (by coder777)
error c3767
 
My program was running fine. Suddently i have this error and i dont know how to fix it.Anyone please...
[2 replies] Last: Try: private: System::Void btnPlay_Click(System::Object^ sender, S... (by closed account z05DSL3A)
December 2010 Pages: 1... 1011121314... 24
  Archived months: [nov2010] [jan2011]

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