Beginners - August 2012 (Page 33)

KeyHooking Problem
 
Void FASTCALL GameKeyDown(BYTE Hotkey) { if (Hotkey == V_Something) { if (ClientReady(TRUE) && !GetUIVar(UI_CHAT) && !InTown(Me)) ...
[2 replies] Last: Yea i hear you i will look into that thx ;) (by snaxpax)
Quick Question
 
What mechanisms can we use to represent different degrees of similarity among entities in C++?
[8 replies] Last: [quote=IWishIKnew]there isn't a "compare" function Oh? What's this? (... (by Volatile Pulse)
Input bug
 
Hi everyone, In a program I wrote I tryied using char number; cin >> number; to get a number from the user and I wanted to make it bug proof, but when someon...
[12 replies] Last: Thank you! (by closed account j2NvC542)
Unformatted vs. formatted input. (1,2)
 
Accoring to what i have read, unformatted input is more efficient that formatted input. I wonder how big the difference actually is and if it is crucioal or not...
[31 replies] Last: [quote=Disch]Nonstandard compiler extensions are not portable.... they... (by Volatile Pulse)
Is there an easier way to establish the winner of a game based on the highest score
 
The loop below is the best algorithm/syntax I could come up with to establish which player has the greatest score out of any number of 4 players. Is there an ...
[4 replies] Last: Pretend you had a list of ten thousand different numbers written on a ... (by dem7w2)
new line problem
 
i want to ,what is the difference between \n and \r .how and when they are used??
[2 replies] Last: for windows they are same I suppose other than there ascii codes. (by Akshit)
by Zu007
Any C/C++ compiler Run on Andriod 4.0
 
Any C/C++ compiler Run on Andriod 4.0 on tablet pc
[4 replies] Last: If you want to build android apps then there is android sdk also. (by Akshit)
Using Arrays to get gpa
 
Hi, Im new to arrays and Im having a little problem with them. I wrote a program that finds your grade, it asks how many hw/cw/qz etc and then if you have 2 hws...
[3 replies] Last: I think when you used this line scanf("%d", &hn ); , you got mixed ... (by MaxLascombe)
argv with /? returns value /e
 
What I'm doing is writing a function to see if the user asked for help command /? When I type command 1 2 3 /? or command /? 1 2 3 output is: command ...
[1 reply] : http://www.microsoft.com/resources/documentation/windows/xp/all/proddo... (by Peter87)
simple bitwise question
 
How can I create a unit32 value, from a list<uint8> ??? ...if its not a few lines of code..please point me in the right direction(other than the bitwise tutoria...
[5 replies] Last: thanks. I will study this to figure out 'exactly' what was done to ge... (by twoencore)
Floating: Rounding to a place
 
Ok, let me start off by saying that this is not homework, and that I'm learning C++ on my own. I would appreciate your help. Here is my problem: I am creatin...
[1 reply] : NVM! I figured it out. I used the following equation: gross = ((fl... (by IWishIKnew)
std::list erasing element while iterating
 
hio
[12 replies] Last: @coder, It worked! Wow, I wish I would've thought of that. Thanks. :) (by DesiredNote)
C++ portfolio assistance needed urgently
 
Write a function which accepts an array of doubles and its length as parameters and returns the sum of all positive values less than 24 within the array: for ex...
[5 replies] Last: Cheers guys!! I am currently trying to do it myself but will post anyt... (by jaypatel123)
translate a Python app to C++
 
Hi Folks: I am very new to C++. In addition, I found this site, and was excited to join, since I started reviewing C++, and getting ready to take a class. Desp...
[2 replies] Last: @Owain Thank you for answering my post. Yes...I want to be able to con... (by jasonjackal)
Is my C++ book too old? (from 2007)
 
When I started learning C++, which I did for about 3 weeks ago, I picked up my brother's book from 2007. I wonder if many major changes have been made in C++ la...
[10 replies] Last: tmpnam is standard, however [quote=man]Never use this function. Use ... (by ne555)
by jaytee
trying to write a code to change vowels to numbers
 
#include <iostream> #include <fstream> #include <cstring> using namespace std; int main() { ifstream member; ofstream dogs; ofstream cats; ...
[6 replies] Last: 1)If you don't want to use x any further hen don't use it as array 2)w... (by Akshit)
Help with my code?
 
Hi, I'm still learning about c++ and the object oriented programming. on the first lesson the mentor required us to do a program which takes an input of n numbe...
[4 replies] Last: Thank you that helped alo! I thought each time I wrote that line nam... (by tarekmoha)
My curiousty kills me D:
 
Hello everyone, I'm a new member in the forums hopefully you accept me here hehe :D Alright, I have a question (consider me as a newbie) There is someth...
[3 replies] Last: @Wazzak, I'm sorry mate I thought this is the right place to ask this ... (by alesandro676)
by agatte
compare chain of chars
 
Hi ;) I have a simple question. I want to compare the end of file "*.txt" or "*.cxx" ? I need to use function to compare a few characters in string. con...
[2 replies] Last: Hi, this should work. #include <iostream> #include <cstring> const... (by closed account j3A5Djzh)
Selection Sort
 
Hi! I'm trying to learn the selection sort, but I can't seem to make this work. Can someone tell me whats wrong with this? Thanks! #include <iostream> ...
[3 replies] Last: In your function int GetSmallestIndex(int* numArray,int min,int max)... (by vlad from moscow)
August 2012 Pages: 1... 3132333435... 45
  Archived months: [jul2012] [sep2012]

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