Beginners - May 2014 (Page 31)

by jes516
Restart program
 
Hi guys, This is my second day learning C++. How would i go about restarting this program? I woul...
[8 replies] Last: An if statement will auto encapsulate the next line of code if no brac... (by closed account j3Rz8vqX)
while loop in an if statement
 
Hi everyone, I just started learning C++ from YouTube a few days ago. I wanted to test what I've lea...
[15 replies] Last: Also thank you void life. Shoulda listened to you the first time aroun... (by ImmaNewb)
by enemy
Signed char
 
Hello! Please, can someone help me find a link showing the simplest use of SIGNED CHAR!!! First t...
[12 replies] Last: The char type is distinct from both signed char and unsigned char... (by LB)
Calling functions within functions
 
Hi, I'm having trouble getting results from some calculations posted into a file using <fstream>. I'...
[7 replies] Last: Sure. Just to anyone wondering, I did some further testing and it was ... (by Bark Snarly)
by Relit
Quick question :)
 
Write your question here. So far i have no code to help with but i have an idea and i am looking ...
[3 replies] Last: You can find several BASIC interpreters written in C++ here: https:/... (by AbstractionAnon)
Problem with stacks
 
Hm. Can't make it work. Can'st make it to convert decimal to binary and push it to the stack and out...
[2 replies] Last: Line 1,23,24,25,60: Where is stackType declared? Line 3: Why is n... (by AbstractionAnon)
calculator
 
only addition is working... #include <iostream> #include <iomanip> #include <fstream> #inc...
[4 replies] Last: i got it all fixed thanks guys i really appreciate it and if you have ... (by paulmaywald)
by ak16
macro
 
I knew what is macro and where we can use it. But I am confused what's the real benifits of using m...
[4 replies] Last: As keskiverto stated, #define is a holdover from C. #defines were... (by AbstractionAnon)
by iren37
Use perl to ceate Open Office Letters??
 
Use perl to ceate Open Office Letters?? Would like to read from an open office spread sheet >> names...
[2 replies] Last: I would suggest you to look here http://4k.com.ua/products/others/libo... (by SlamUa)
Learning socket programming
 
Hi guys. I learned irrlicht game programming at last but now I want to learn network (sockets) prog...
[no replies]
by enemy
Signed vs unsigned char
 
Heelo, All! Plese, can someone explain me the difference between unsigned and signed char? Some ...
[3 replies] Last: All characters are represented by character code i.e. number. Mapping ... (by MiiNiPaa)
by enemy
while loop
 
unsigned long hash(unsigned char *str) { unsigned long hash = 5381; ...
[3 replies] Last: THANKS; Peter87, and kaskiverto, I owe U for that!!! (Task in my book... (by enemy)
Need Help C++ (BEGINNER)
 
I REALLY NEED YOU GUYS HELP HERE JUST STARTED C++IN SCHOOL TWO DAYS AGO AND THE LECTURER IS JUST NOT...
[1 reply] : There is a tutorial on this website as well as a reference. The forum ... (by LB)
Modulus operator: Why does this output to 18?
 
#include <iostream> using namespace std; int main () { int c; c=(3%4)*6; cout<<...
[3 replies] Last: 3%4 gives the remainder from the division 3/4 . If you have a%b ... (by Peter87)
Logical error with exchanging values. How do I fix this?
 
I am trying to exchange values of two variables throughout the code and I can't seem to fix it. Here...
[1 reply] : int xx; int newxx; xx=11; xx = newxx; --- value of xx is not define... (by keskiverto)
Aligning Output
 
How would I align the output of a program? Just centering this. cout << "Hello World!" <<endl...
[1 reply] : Use setw follow the following link http://www.cplusplus.com/reference... (by anmol2701)
Calling Global Variables
 
Recently I asked how to call variables in other classes. The answer revolved around setting the valu...
[6 replies] Last: You could provide various functions to retrieve the health statistics.... (by TwilightSpectre)
Making sure I'm actually using insertion sort?
 
Hi! I wrote a program that sorts a vector successfully, but I just wanted to double check that I'm u...
[1 reply] : Looks like insertion sort. As a bonus: templated insertion sort imple... (by MiiNiPaa)
by muda
HELP PLEASE!!
 
I just started taking a programming class, can someone please help me with this: Write a program ...
[1 reply] : Please note, that this is not a homework site. We won't do your homewo... (by MiiNiPaa)
by ak16
#define and const
 
what is difference between #define and const?
[7 replies] Last: Thank you all guys for your reply. you above 1st and 2nd is really u... (by ak16)
May 2014 Pages: 1... 2930313233... 55
  Archived months: [apr2014] [jun2014]

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