Beginners - January 2010 (Page 11)

Assignment Calculating Sphere
 
It's a simple assignment but I cant wrap my head around it. Calculating a sphere the formula is volu...
[1 reply] : The code you posted doesn't make much sense, you should look at the tu... (by Bazzy)
quick sort
 
s=55 50 10 40 80 90 60 100 70 80 20 i want to know how many comparisions are performed by this algo...
[6 replies] Last: looks like a good site: http://www.algolist.net/Algorithms/Sorting/... (by gcampton)
What does & in front of a function argument mean?
 
Hi I have this function: EventGetUserId(Event, &userID); userID is an (unsigned int) variab...
[3 replies] Last: Thanks (by Zyprexa)
[error C2440] cannot convert from 'std::string' to 'char'
 
Hi guys, here my problem user will enter the Letter of Grade ( A B C D and F ) , my small program...
[3 replies] Last: http://www.cplusplus.com/forum/beginner/18454/#msg94246 http://www.... (by thanhvnn1)
by kesa09
simple loop
 
inside loop everything works fine, calculation and output. but when i enter while loop nothing shows...
[5 replies] Last: or before the cout put a conditional [code firstline=32]if (choice ... (by gcampton)
FTP Client
 
Hello, Attempting to code a function to download a file from a website, does anyone have experien...
[2 replies] Last: #include <wininet.h> #include <windows.h> int main() { H... (by garrett)
by amn390
Video into Images
 
Hi, I am building a program which requires me to feed video/images( taken from ip network camera) ...
[1 reply] : Do you have the libraries, skill and knowledge base to even begin this... (by tummychow)
by Phazon
Condition seems to be ineffective
 
I'm attempting a simple little "Guess the number" game, but no matter which number you input, you al...
[6 replies] Last: i suggest you add number randomization and tell the user if his input ... (by blackcoder41)
strstream problem
 
Hi guys and girls; When I'm trying to include the following line in my code I get an error that t...
[7 replies] Last: If you have <sstream>, you have ostringstream and istringstream. Have... (by kbw)
by ripley
divide string into small strings
 
Hello, I have a problem to divide the string into smaller strings, which have 3 char form the ma...
[9 replies] Last: I figured that out by myself. Thank you. (by ripley)
How to handle a mouse click? (1,2)
 
How can I do something when the mouse is clicked? Believe me, I've Googled this thing so much, but a...
[27 replies] Last: Keep in mind that JS is designed to work with web integration, like Fl... (by tummychow)
friend function problem
 
hi everyone i had a problem when implementing the friend function why i can't compile the progra...
[17 replies] Last: Another way to do is to add following lines in hpp file(new_file.hpp):... (by jysonia)
Palindrome testing program crashing.
 
Working on a school assignment, essentialy, write a program that will receive a word (all lowercase,...
[12 replies] Last: Diffrint iteration: #include <iostream> #include <string> usin... (by RobertL)
Translate string into int type.
 
Hi Guys, I want translate a number string into int type. such as "21354" to (int)21354. but the out...
[9 replies] Last: I only know because when I first began coding I used atoi () and ito... (by Duthomhas)
by jpez86
Additional Digits after decimal to Octal/hex/char conversions
 
Hey guys. So for my home work assignment we were asked to make four columns of data where there i...
[2 replies] Last: You got that far without code tags? You are a better man than me, jsm... (by PanGalactic)
by Rox
The most primitive way to send data through a socket
 
Hello, this might be a theoretical question, but let´s suppose we are going to write a new netwo...
[1 reply] : [quote=rox]let´s suppose we are going to write a new network library,... (by PanGalactic)
Please explain!
 
i know that this is for exponential power, can someone explain how its works. for (int loop...
[1 reply] : It repeatedly multiplies "power" by the value of "myFlt1". The loop... (by jsmith)
by sebas
free a pointer to pointer variable
 
Hi, i'm trying to free a **pMatrix variable. (pointer to pointer). I have tried this code for(i=0...
[4 replies] Last: - You can delete NULL pointers without any problem (nothing will happe... (by Disch)
by nammae
Bit inversion problem
 
I have a problem with bit inversion operator( ~ ) #include <iostream> using namespace std; ...
[2 replies] Last: Ok, thank you very much. (by nammae)
by Rycul
Configuration error when executing .exe
 
Hey again everyone, some of you may know that I have been working on a Sudoku solver in C++ as my...
[3 replies] Last: Then you must install .Net in the target computer to have it running ... (by Bazzy)
January 2010 Pages: 1... 910111213... 24
  Archived months: [dec2009] [feb2010]

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