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

Program
 
Hello everyone, first off i would like to point out that i am new to the forums, and if this is in the wrong plqce i would appreciate if you would let me know, ...
[7 replies] Last: Lol, sorry about that. Copied the wrong name. (by Mathhead200)
by DSTR3A
Check If Application Starts Running
 
I'm trying to find a way to check if an application starts up, let's say notepad. I'm using Visual Studio 2010, Win7. I have several solutions but in MFC but t...
[no replies]
Newton Raphson method cubic polynomial
 
Hey, I am a novice to this, and now have to build a program to read sequentially, line by line, the coefficients of a cubic polynomial, and the initial guess, a...
[3 replies] Last: sorry to have made a mistake in my code. the code segment if...else i... (by chenqi07)
A timer in a thread does not tally with the runtime of the program?
 
I am trying to create a game with a few threads running. And i have create a thread to store the time since the process has run. The code is: void * clo...
[6 replies] Last: Real time... real time is just that, real time. user+sys time is the t... (by Athar)
Face Detection(Haar) without opencv
 
I am currently working on a face detection program using haar classifiers(I am using the sample program that comes with opencv installation).What i need to do i...
[no replies]
Trouble Making a Library
 
Hi, I'm fairly new to C++ and I have made my own sort algorithm. It is an insertion sort algorithm, that sorts between values being entered. I am trying to m...
[2 replies] Last: Tried that just then, got an error: [Linker error] undefined referen... (by steve9164)
probably a dum question >.< but...
 
just curious if its possible to make a game without using libraries? (such as SDL or SFML) not that im gonna try it but was just curious >.>?
[7 replies] Last: just curious if its possible to make a game without using libraries? ... (by Catfish)
When i open file for output it wipes erases what's in there
 
hey everyone, i am ready to throw my computer at a wall for this. So if you want to help me save my sanity and a few hundred bucks in a new computer, please as...
[4 replies] Last: Ahh ok. Glad you got it working :) (by zippyking)
by DSTR3A
Won't Compile in VS 2010
 
This code works in VS2008 but I can't get it to work in VS2010 Win 7. Any help appreciated. Thanks. I'm getting this error: Error C2039: '_InitNetworkAddressC...
[no replies]
memory copy of strings??
 
how does memcpy work in this case ??
[1 reply] : Duplicate thread: http://www.cplusplus.com/forum/beginner/50168/ (by shacktar)
ANSI/ISO code and gcc options
 
Dear all, Suppose i have code, and i want to compile just ansi/iso, -ansi -pedantic is enough for understanding it?
[1 reply] : --pedantic or possibly --pedantic-errors. Two dashes, not one. The man... (by helios)
Removing items from an inventory!
 
I have finally got inventory and items to work. I just now need to know how to remove an item from the inventory. If you could please help me by editing the cod...
[3 replies] Last: Well just so you guys know, I'm self teaching myself... so you would r... (by Pjonathan)
How to implement a Delphi array type property
 
Hi, I'm trying to convert some code from C++ Builder to standard C++. The code heavily rely's on Delphi's TList and uses the Propery Items. I've come up w...
[1 reply] : you could use list or vector :) vector<type> variable; #include... (by tolga gerekci)
Creating a inventory system!
 
Okay so let me first get started on what I am creating, it is a text based game like Zork except I have made up the story line myself. I plan to make is so that...
[3 replies] Last: That was just there to show you where/how hasKey is set to true. You w... (by ModShop)
Is this tearing?
 
Hi forum, I was brwosing through my old projects folder and stumbled upon this little snake I made. I recall it running perfectly fine, but when I run it now...
[1 reply] : Tearing is an artifact that results from an image in the video device ... (by helios)
little help with these errors?
 
OK So here is my problem.. I am using Visual C++ 2010 Express and a Form project.. This part of my code is giving the problem if (abut->Checked == true)...
[3 replies] Last: [The problem is solved] Thanks to both of you.. webJose I used Conve... (by Aniq Ahmed)
using memcpy to copy 2 dim array contents ? plz Help me
 
I have like this in a file1.txt I have like this in a file2.txt OK Green > start 1 OK Green > start 1 OK Green > start 2 ...
[5 replies] Last: No it is not append sorry, Thanks guys for the tries and the help ;) (by john1984)
XLL addin crashing Excel
 
Hi, I tried posting this in the beginner's forum but haven't got any response yet, hopefully someone here can help? I have tracked the troublesome code to th...
[2 replies] Last: This can happen when you step on out of bounds memory. Why not use std... (by keithalewis)
What is wrong with BOOST_FOREACH(const std::string &name, m_modules)?
 
I am trying to compile this example http://www.boost.org/doc/libs/1_42_0/doc/html/boost_propertytree/tutorial.html and I am getting the error "/usr/local/boost...
[no replies]
How can I fix up these C Problem? I need to read three lines
 
Write a C program that examines each character in a two-dimensional array and determines how many of the characters are vowels (a, e, i, o, u), how many are ...
[4 replies] Last: I have done it already by myself! But still one thing left! I have to ... (by rizwanul)
September 2011 Pages: 1... 2021222324... 31
  Archived months: [aug2011] [oct2011]

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