Beginners - March 2012 (Page 57)

sorting arrays
 
i'm making a function trying to organize my array and for some reason i get a weird number, help me plz. thank you in advance #include <iostream> #include ...
[3 replies] Last: wow i was dumb, thankyou guys for the help. (by ui uiho)
Learning SFLM to replace console
 
I've read articles explaining how bad the console can be for high levels of programming, and a lot of people recommend learning SFLM to replace the console. Now...
[3 replies] Last: Thanks for the reply guys, i've decided to go with SFML to help with l... (by Need4Sleep)
array loading and reading
 
I am having trouble getting an array to print, correctly, what is loaded. It gives me number's that are in the 1000's. ???? any help? Here is the text: #...
[3 replies] Last: Programmers always count from 0. ;-) (by MrHutch)
i need your help please.. for my project on computer programming dev c++
 
This is what to do.. 1. 5-6 functions. 2. One or more functions must have conditions(s). a.if else b.if else ladder c.switch 3. One or more functions ...
[1 reply] : http://www.cplusplus.com/forum/beginner/63705/ (by MrHutch)
by ctest
Program went too fast
 
#include<iostream> using namespace std; int main () { double a,b,c,d,e ; cout<<"please enter 5 decimal numbers"<<endl; cout<<"1." ; cin>>a ; cout<<"2...
[14 replies] Last: The cin.ignore method is a little convoluted. This is a simpler way of... (by packetpirate)
by Stou
Just started with c++
 
Hello fellow- programmers :D ... I jist started learning c++ from an online free tutorial page (you will find it if you click "learn c++" in google and hit the ...
[4 replies] Last: If you have short, simple questions, I'd be willing to help you when I... (by packetpirate)
Turbo C help project!
 
So here's my problem Code: tax=gross*.04; /* tax cost 4% */ if (duration>=60 || time>=1800 && time<=800 || end>=1800 && end<=800) { gross=duration*.40; /* Du...
[5 replies] Last: anybody? pls need badly! (by clampzy)
Anyone Nid help with this :(
 
I need to make a C++ program whose output should be like this _____1 ____232 ___34543 __4567654 _567898765 using nested loop just out of idea xD
[2 replies] Last: thx a lot this will do :) (by Yazshier)
question about union
 
hi , i have a quetion on union. union contain different data types and the one member of the union which requires highest storage will be allocated to union as...
[10 replies] Last: thanks a lot peter87. now my doubt is clarified. (by beginner2011)
Unexpected call of a class destructor
 
Hi all, I have defined a simple class Tutu with two constructors, the default one that do nothing and a 1 parameter one that allocates and initializes a dy...
[14 replies] Last: If you are using C++11 you can make a move constructor and move assign... (by Peter87)
by pzling
Unhandled Exception: char at memory location [ ]
 
Hi I'm trying to debug my program and I get a "Unhandled Exception: char at memory location [ ]". The compiler points me to the source code: if (Time1_...
[2 replies] Last: ah thank you, found it! (by pzling)
palindrome test
 
as some of you may know especialy those who helped me I recently used this code to create a program that takes a word from user input and reverses it: #incl...
[8 replies] Last: that fixed every thing thank you!!! (by jax666999)
not getting the output
 
Hi, can u please help me understand why i'm not geting the proper output. I tried implementing a code from a text book for reverse polish calculator. In rever...
[2 replies] Last: Thanks Observer.. i made a silly mistake by not giving '\n ' option in... (by beginner2011)
why is "./" needed to run a c++ program?
 
i'm on ubuntu and i just wanna know why i need to to type the "./" before and object file to run it? for example "g++ pop.cpp -o pop" i need to type "./po...
[5 replies] Last: It's a security measure to prevent a program with the name of a common... (by Athar)
Programming help
 
i just started a programming class for C++ and have this assignment and i am stuck.. #include <iostream> using namespace std; int main() { { ...
[3 replies] Last: I wonder how too...tried on naraku code, it's only shows the last name... (by atjm88)
Simple writing file problem
 
Hey guys, I would like to write 5 lines to a text file, and if I enter "stop", the program should terminate. It works, however "stop" is written to the text fil...
[6 replies] Last: Like I said, you output the word right after it is input and before it... (by naraku9333)
display ODD numbers in the range
 
Hi, I am new to c++. I'm having troble with displaying ODD number in give range. Plz help me! when I input odd number at first, it will compile correctly. BU...
[2 replies] Last: Thanx!!!!!! you're my savior! :) (by wlghks5272)
I need a description of this program
 
#include<stdio.h> int main() { int k; int a ={1,2,3}; int *b ; int**c ; int ***d ; int ****e ; int *****f ; for(k=0;k<3;k+...
[1 reply] : Smells like pointer homework :) (by ResidentBiscuit)
by abisu
Some beginner pthread exercises?
 
Hi, I'm learning C++ and is studying about pthreads, mutexes etc now. Although I know some theory, I don't have any idea what kind of stuff I should program to...
[3 replies] Last: Pro tip. Wait till C++11. Built in thread support ftw (by ResidentBiscuit)
by dmar42
comparing elements of two 2d arrays
 
i need to compare the values of two separate 2d arrays and return true if the corresponding elements in both arrays are equal and false if they are not. this i...
[2 replies] Last: says my first array isnt in scope. (by dmar42)
March 2012 Pages: 1... 5556575859... 71
  Archived months: [feb2012] [apr2012]

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