General C++ Programming - February 2012 (Page 34)

Hook Api function
 
hello guys i have one question. how can i hook to api funtion ? for example i want hook to MessageBoxA and every process call this function i can show alert . ...
[3 replies] Last: exactly i want "monitoring api calls with other process"! please help ... (by ahura24)
by mike3
What is the best strategy for implementing this "weird" kind of graph in C++?
 
Hi. I'm wondering about this. I've got this problem: how can one implement this "weird" kind of graph in C++? Now, what do I mean by that, first? The answer ...
[16 replies] Last: More like 5 than 5,000. Actually, most nodes have 4. But all this sear... (by mike3)
by Cole99
Code::Blocks GUI
 
How do I make a game in Code::Blocks? Not a console game. In my own size screen, my own look, I want to be able to have full control over the games look.
[1 reply] : http://www.libsdl.org/ and http://www.sfml-dev.org/ (by Code Assassin)
setprecision problem?
 
When this program runs it is supposed to display the total amount of games and the percentage of games won from the total amount of games played. The functions ...
[1 reply] : totalPercent = sum % manyWins; Do you know what the % operator does ... (by LB)
by Cole99
Random Number???
 
Hi. I have used random numbers so many times but I'm confused. It gives me the same number every time. What should I do to fix it. I used the srand(time(0))!!! ...
[3 replies] Last: NVM i got it! (by Cole99)
by jim744
Help opening files in double for loop
 
I am trying to open a file in a double for loop using the variable of the first loop as the directory and the second variable as the file. for(int i = 0; ...
[4 replies] Last: Thanks I got it working now. (by jim744)
by vRltwE
What double(*y)(double) means?
 
Hi all, Could some one please explain a little bit of whats happening in this code, specially the argument of of the class constructor. What double(*y)(doub...
[2 replies] Last: Thanks mik2718, And could you please tell me a little bit of what's g... (by vRltwE)
Game; Monster Drops, most efficient way
 
I would like some assistance on how best to go about a drop list for a monster in a console application. Assume I have a Goblin object, and it drops 11 things a...
[7 replies] Last: Thank you, all. You have given me quite a bit to think about. I'll hav... (by sikuneh)
Orwell Dev-C++
 
I just download the portable application Orwell Dev-C++ from http://sourceforge.net/projects/orwelldevcpp/ and need some help. I usually use Borland c++ 4.5,...
[4 replies] Last: Until the Orwell production becomes official, I'm not going to change ... (by Albatross)
string1 rotation of string2, algorithm complexity
 
To check if string1 is rotation of string2. One way: str1 += str1; and then check if str2 is substring of str1. Time n^2, space n. (is this complexity correc...
[2 replies] Last: http://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algor... (by mik2718)
Floating point exception
 
I am working on a function here that takes chars from a external file, converts them to ints and then uses those ints to calculate some stats. Here is the func...
[2 replies] Last: Thanks, that cleared up the problem I was having with the floating poi... (by taraoski)
cannot grab strings from html tags
 
Hi guys, I am using managed c++/cli. I have a trouble with my code, I cannot be able to grab the html tags from my website using with httprequest. Here's the...
[2 replies] Last: You'd do better asking in a CLI forum. We're mostly C++ around here. (by Moschops)
Change binary number ex. 1=0, 0=1
 
Hello everyone this is my first posting and I need some help I' trying to convert binary number let say If have 1 convert to 0 and viceversa.. this my code: ...
[5 replies] Last: Thanks a lot .... (by Jhunior)
code wanted
 
i have a question... how to Develop a C++ application that performs the following tasks: **Asks the user to input a data item of each of the following types...
[9 replies] Last: Wow,thanks man.I really appreciate your time to help me ;) Absolutel... (by MrHutch)
std::mismatch compile time error
 
I made some compare (case insensitive) function to be able to compare some file & folder names, since it would be logical to make params const i got compile tim...
[2 replies] Last: Thats it. Thanks. (by morando)
PDF Export
 
Hello! I am a C++ programmer using Visual Studio 8.0 and i have one problem in my job. I need to convert the program´s data to a PDF file, but I don´t had ...
[1 reply] : http://en.wikipedia.org/wiki/List_of_PDF_software#Development_librarie... (by Moschops)
by rucafe
memory out of range
 
With out going into any detail about my code, what does this message usually mean: Unhandled exception at 0x760db9bc in program.exe: Microsoft C++ exception:...
[3 replies] Last: Using cout cerr at important points in your code is a great way to... (by ne555)
by Arukas
Threads
 
I want to learn about threads, but I am having a hard time understanding how threads work. Anyone know any good resources for it? I've tried searching on goog...
[8 replies] Last: There's quite a lot of information on threads throught the forum, but ... (by kbw)
creating new queue dynamically
 
Hello, I have an assignment in Operating System where I am suppose to simulate a process scheduler. The process are inputs through command line. A sample lis...
[1 reply] : fgetc() is the wrong approach. See http://www.cplusplus.com/reference/... (by coder777)
by rucafe
Problem interpreting data
 
I have a data base that looks like the following: 7.410510 0.624145 0.099997 21.497558 0.152266 -0.426159 6.812658 0.597852 0.099995 21.596834 0.161156 -0.434...
[2 replies] Last: thanks that seems to work (by rucafe)
February 2012 Pages: 1... 3233343536... 43
  Archived months: [jan2012] [mar2012]

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