Beginners - September 2011 (Page 24)

Complex
 
Hi , I'm new in c++ and i learn c++ from java2s.com.There are many examples. Could someone explain me,why complex is used in c++,please? Example:#include <...
[3 replies] Last: They're used when complex numbers are needed, of course.. (by hamsterman)
Sorting String array?
 
Hi I am trying to sort string arrays (a to z) . They are up to 1000 array like these: Fhfhfhd Dtbktdhjldfv Shmb Svb (just random strings ) how can i s...
[3 replies] Last: 1. Don't use arrays like that, it's wasteful. Use vectors instead. And... (by Athar)
help with my recursive program..
 
Write a program containing the recursive function that will find the following series of numbers 2, 1, 4, 3, 6? *c program #include<stdio.h> main( ) {...
[3 replies] Last: #include<stdio.h> #include<math.h> main( ) { int a, b; printf("En... (by bombels)
token to a multidimensinal array
 
How do you tokenize a string and put it in a mulitdimensional array, letter by letter? Im getting the following error "invalid conversion from char*' tochar"....
[1 reply] : Firstly, you're not using strtok right. You should only pass it sptr t... (by hamsterman)
help with my program
 
Here is the program i have been working on, it is meant to pick a number between 1-100 and have the user guess the number in 7 try's. Also If the user enters a ...
[7 replies] Last: you are quite welcome :) (by davidcpp)
by gladi
pointers with linkList
 
I really would like to understand what's going on with this code if someone has any idea about it pls help out. what does every line say?!!!! CharLinkD* firs...
[2 replies] Last: I really really appreciate your helpful Luc Lieber. I just wish one t... (by gladi)
Why am I getting these error mesages?
 
This is my homework. Write a program that read data from an input file and stores the details of students in a class of size 20. The detail include Student ID,...
[5 replies] Last: Thanks shacktar! May god bless you! :) (by Abdul Hadi Zainudin)
Supplying txt files through the command line
 
Hey everyone, I am stuck in this whole concept of using the command line to pass arguments(or parameters, dont know which is the correct name) to main(). ...
[1 reply] : Duplicate thread: http://www.cplusplus.com/forum/general/50622/ (by shacktar)
Logic error in code
 
I made a program that determines the largest and smallest integers in a list. The program works but displays the largest and smallest integers however many time...
[1 reply] : Have you considered using else-ifs? if (condition) { //Stuff } else... (by Albatross)
Polymorphism Bug
 
I am trying to do some simple polymorphic code, but when calling parent objects, the passed pointer dereferences to an empty data structure. This is something t...
[1 reply] : What's happening is that there's two objects named '_data' in each Def... (by helios)
using c++ outputfile
 
Is it possible for me to input a c++ output file into http coding allowing someone to enter information and it be stored in the file directed by my output file?...
[3 replies] Last: Sounds like a job for PHP. http://www.php.net/ (by closed account 3hM2Nwbp)
outputfile
 
#include<iostream> #include<fstream> using namespace std; int main() int username; int password; { ofstream outputfile; outputfile.open("...
[3 replies] Last: thanks guy, sorry im new to this! (by kcomp11)
Network Programming - Where to start??
 
I've been programming for awhile now, games & software! But now I want to learn about networking! Ultimately, I would like to learn how to create a game with a ...
[1 reply] : Start with beej's guide, or shoot me an email =] http://beej.us/guide... (by ultifinitus)
by BRMV
how to split the date
 
when date(dd/mm/yyyy)input is given c++ program , how its 3 components(dd,mm,yyyy) can be taken into 3 different variables(x=dd, y=mm, z=yyyy).
[1 reply] : This might be helpful: http://cplusplus.com/doc/tutorial/basic_io/#cin (by Galik)
why do IDE output window close?
 
can anyone tell me why is it when i use an IDE such as devc++ or wxdev++ i need to put something like system("pause") or cin.get() in order for the output windo...
[15 replies] Last: [quote=jinjin12]@douas, did you even read my topic? i said i already k... (by Duthomhas)
by joe58
C++ syntax issue
 
Hi, I am just learning to use xcode/c++ and am going through an example in Xcode development for dummies. YES REALLY! I have made through one of the example...
[2 replies] Last: Yes, that's Objective-C, which is one of C++'s cousins. It's... quite ... (by Albatross)
DIB to string (How to?)
 
Hi. Just to let you all know, we are working on a DLL to return a string containing pixel data from an area of the screen. It's very simple, cycles through a fo...
[no replies]
Looking for some input on gamemap
 
I made this game map for a 2D side-scroller. It runs fine, but I'd like some input on programming style and maybe some helpful hints since I'm new to this. Alth...
[13 replies] Last: Thank you all for your concern. I think I could have been a little mor... (by carebearboy)
linked lists and dynamic memory
 
I've been hearing a lot about these two things but I'm not sure what they are, would anyone mind explaining what they are and how to use them?
[4 replies] Last: Ok that helps thank you. (by bboy212)
by aasaa
return const pointer
 
hey, can u please explain what is returned from this function? can u please tell me what kind of operation can I do on the returned value? the function: ...
[1 reply] : can u please explain what is returned from this function? _sum. Th... (by Athar)
September 2011 Pages: 1... 2223242526... 48
  Archived months: [aug2011] [oct2011]

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