Beginners - March 2009 (Page 17)

In trainer Working...
Im making a trainer for AQW(http://www.aqworlds.com/) and the only thing to hack it is to manipulate packets, Any help about the packet sniffer? Do i need winso...
Mar 13, 2009 at 12:46pm
[no replies]
a doubt in functions
Recursivity. Recursivity is the property that functions have to be called by themselves. It is useful for many tasks, like sorting or calculate the factorial ...
Mar 13, 2009 at 11:31am
[3 replies] Last: Thank you Bazzy..... (by Harlequin)
learning windows programming...
I am a beginner with resonable knowledge in c++....(i know about the function arrays etc...)......can someone tell what all topics i need to know to learn windo...
Mar 13, 2009 at 11:13am
[2 replies] Last: can u tell what all i need to know.......tell me a good site where i... (by Harlequin)
adding string in a string....
i try to write a program which can add string in a certain string example word : i try to input anyword which ends in 'y' can be output will be:...
Mar 13, 2009 at 11:11am
[1 reply] : If you are trying to change eg. "happy" to "happiest" try to see if... (by Bazzy)
by psc165
Using loops
I have been stuck on this problem for hours, does anyone have any insight as to how to do this. Write a C++ program to print the following output. 1 2 ...
Mar 13, 2009 at 7:26am
[1 reply] : for (int i = 1;i < 5;++i) { for(int j = 1; j < i; ++j) { ... (by onur)
Sudoku problem
*DELETED*
Mar 12, 2009 at 10:18pm
[1 reply] : A real sodoku-generator will get a little more complex... I would u... (by Scipio)
by layla
reading a file in reverse order
hi I have a question. I try to print a ascii file in reverse order( bottom-top). i've tried this code #include<stdio.h> #include <stdlib.h> /*#def...
Mar 12, 2009 at 10:09pm
[2 replies] Last: If you can use C++, it has the seekg ifstream member function (by Bazzy)
Infinite loop
Im createing a number guessing "game" for my computer programming class. It works fine up until the end where it askes you if you want to play again. If you ...
Mar 12, 2009 at 9:27pm
[2 replies] Last: Thank you (by Enserric)
Swapping the contents of a vector
Hi, I'm trying to make a function that swaps the contents of a vector that contains integers. void swap_vector(vector<int>&v1) { if(v1.size()%2==0)...
Mar 12, 2009 at 9:22pm
[5 replies] Last: Thanks for your replies. jsmith: Thank you very much for pointi... (by chungolongo)
'std' : illegal use of namespace identifier
Hi There, I'm just learning C++ so am learning about input/output and trying to figure out what's wrong below. I am getting to following errors in Visual...
Mar 12, 2009 at 8:06pm
[1 reply] : std::cout << "Your favorite number is" << iNumber << std:endl; Yo... (by Return 0)
Retrieving data from a file (.dat)
I am new to fstream, and I need help ASAP! My goal is to make a program that opens a .dat file and it checks to see if the number exists in the file. If it d...
Mar 12, 2009 at 7:40pm
[1 reply] : Load the entire file into an array or vector and then use the find() a... (by eker676)
Greatest common divisor error
I am having trouble returning the correct value of the GCD of two integers. The number returned is always 20k+ which obviously is not correct when I am using n...
Mar 12, 2009 at 7:18pm
[3 replies] Last: hehe your gcd function is much better than mine! gonna use yours :) (w... (by tition)
Breaking up a string
Hi I need a simple way to break up one string into several strings. An example of what i need is to turn the string "golf" into four different strings, "g", "o...
Mar 12, 2009 at 7:04pm
[1 reply] : Given string foo = "Hello World" or char foo = "Hello World"... (by jsmith)
main() use in other functions that main() uses.
In findNum(), I use a loop to test for characters(Each alphabetical character is represented by a number), and if they aren't characters, I try to use main() ag...
Mar 12, 2009 at 5:54pm
[2 replies] Last: ahh, thank you! What a simple answer. Haha (by Treseler)
by masiht
void to pointers
// pointer to functions #include <iostream> using namespace std; int addition (int a, int b) { return (a+b); } int subtraction (int a, int b) { return...
Mar 12, 2009 at 5:52pm
[5 replies] Last: Thank you bazzy .this example is easier. (by masiht)
by pamcor
how will i break this C++program?
can you help me solving this program? As i enter a number, all the output is print on the screen.. #include<iostream.h> int main() { int speed; cout...
Mar 12, 2009 at 2:28pm
[1 reply] : You should use && instead of || : if ( speed<=74 && speed >55 ) You... (by Bazzy)
by audrei
how to program...?
I have a problem i programming can you help me.? < I want to make a program to solve for the value of the resistor, can anybody help me???
Mar 12, 2009 at 1:55pm
[4 replies] Last: Multiple posts, same topic: http://www.cplusplus.com/forum/general/832... (by jdd)
Iterator doesn't work properly
Here is a snippet of my code that has the problem for(std::vector<int>::iterator i = list.begin(); i != list.end(); ++i) { if( ( (*i) % 3) == 0) { o...
Mar 12, 2009 at 12:30pm
[11 replies] Last: So it would be something like myList.erase( std::remove_if( myLi... (by jsmith)
How do I make a program read the data?
I need help with an assignment. First of all, I am a BEGINNER at C++, so I need simplified answers so that I can understand them. I just started learning the li...
Mar 12, 2009 at 11:52am
[1 reply] : The way you are getting input from the file is overwriting the user in... (by Bazzy)
by vir
Problem with looping
can anyone help me solve problem with printing a diamond.. i just know the first that we should make a loop for x times, right?? and then i don't know what sh...
Mar 12, 2009 at 7:00am
[4 replies] Last: thx, my problem solve.. (by vir)
March 2009 Pages: 1... 1516171819... 29
  Archived months: [feb2009] [apr2009]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.