General C++ Programming - August 2011 (Page 24)

Coolest software ever?
 
Question says it all- whats you coolest software you have ever made? I don't mean something funny or entertaining but something that required real skill and is ...
[4 replies] Last: I created a program that played Fur Elise by Beethoven on a virtual pi... (by TheMassiveChipmunk)
How to find a window without (!!) using FindWindow() ?
 
Hi everyone , I'm trying to close a window (in C++). I need to do that without the use of FindWindow(). My app should find a window of another app (again , wit...
[13 replies] Last: I provided a one-way interprocess communication method. Now you want ... (by webJose)
by Tresky
libRocket Linking
 
Okay, first of all. I know this doesn't belong in this forum, but the forum for this library is all but inactive. I am attempting to set up a UI library call...
[2 replies] Last: Okay, so this is a really weird error I'm getting. All of the headers ... (by Tresky)
Operator overloading
 
Can i overload the operator to return a reference when A's array of object as a member of B class...? example: class A { private: int c ; publ...
[4 replies] Last: :)) its very good idea @Syuf :D i really like it . interesting ! (by ahura24)
Sockets?
 
I use read () and write() for text, but how do I send non-text through sockets? i.e. files, audio video etc. I have no problem obtaining the audio I use SFML, ...
[2 replies] Last: so I just convert to binary and send the binary? thanks (by TheCreator)
How to ignore newline characters when reading file in list format
 
I am trying to read a file with a list of titles and authors, and I need to be able to ignore the newline character that separates each line in the file. For ex...
[6 replies] Last: THANK YOU SO MUCH SLOPPY9!!! I realized my problem. The .txt file my ... (by eyeswideorange)
Reading File and print on the screen
 
Hey Guys; I just saw a strange thing in my codes in reading file from a text file here is codes then I explain where is the strange thing... #include<iostr...
[2 replies] Last: From MSDN - std::endl Terminates a line and flushes the buffer. ... (by andywestken)
Redefining (overloading) input operator>>
 
Hi, I am facing problem in reading some floating point numbers from a text file. Some of the numbers are "inf" which are read as 0 by the standard >> operator....
[4 replies] Last: I really don't know, but I think they are declared in the global scope... (by Syuf)
Writing to files without truncating them
 
Hi, this is regarding using an ofstream object. void updateRecord(int n, string filename) { ofstream fout; fout.open(filename.c_str(), ios::binary);...
[3 replies] Last: I tried that. But it allows addition only at the end of the file. What... (by noxiouswinter)
What are these errors?
 
Error 1 error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup j:\jinais\my documents\visual studio 2010\Projects\kkjh\...
[5 replies] Last: Wow! Very silly mistake and I never could have figured that out myself... (by noxiouswinter)
if statement problem
 
Hello, I've designed a macro for dynamically casting pointers. My macro looks like this: #define using(interface, object) if(object) if(interface * self = ...
[8 replies] Last: Actually you're right, hamsterman, dynamic_casting a NULL pointer retu... (by Tanatos)
Need help with Quash
 
Hi everyone, Ive been working on this Quash program for a couple days. I'm honestly a little confused due to the professor giving us this program and basical...
[12 replies] Last: i did post a new one here, but havent got a single reply :( http://www... (by MasterShihoChief)
Parsing a xml file
 
Hi to all, i want c++ code for parsing a simple xml file. OR C++ code for it takes one any text file or xml file from user and it have to eliminate the T...
[5 replies] Last: I like TinyXml myself. As andywestken pointed out, however, this i... (by Duthomhas)
project in C++
 
I am studying in 2nd year of college. For my project work i want to do something in programming with c++. I need some ideas for it, can anyone give me some idea...
[6 replies] Last: If you can come up with an idea for an app that relates to one of your... (by andywestken)
Innovative ideas?
 
Hey I was just wondering if you guys could share some daily problems you face. I am looking to create software but have writers block. I was hoping you could g...
[17 replies] Last: The most generalised and time consuming issue I have is when my progra... (by James Burnby)
C++ MySQL Connector error while compiling
 
Hi, I'm getting those annoying errors while compiling test program for connect to mysql DB 1>c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\inclu...
[no replies]
problem of scale?
 
int main() { long long user_number, sum=0, working, power; //gets base number cout<<"Enter a number."<<endl; cin>>user_number; //gets ex...
[4 replies] Last: Anyone ever take a look at GMP? I downloaded and tried to install once... (by vince1981)
Segmentation algorithm
 
Hi, I have a population of 50 ordered integers (1,2,3,..,50) and I look for a generic way to slice it "n" ways ("n" is the number of cutoff points ranging fr...
[1 reply] : As I understand you need to generate all possible cutoffs, right? It's... (by agile)
Splitting Big CSV file into multiple CSV files
 
I have a big CSV file (1MM lines) and it has this format Product Name Order Date Ship Date AAA 1/3/2011 1/10/2011 AAA 1/3/2011 1/10/2011 AAA 1/3/2011 1/...
[9 replies] Last: IE9 is just as bad :-( (this time I'm using my laptop with Vista an... (by andywestken)
pointer array and pointer and array
 
give me some example programs of pointer and array and pointer array
[1 reply] : http://lmgtfy.com/?q=give+me+some+example+programs+of+pointer+and+arra... (by agile)
August 2011 Pages: 1... 2223242526... 29
  Archived months: [jul2011] [sep2011]

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