Beginners - August 2014 (Page 7)

Rewriting depriciiated oststream implementations HELP!
 
I am editing a an old but very useful program from 1999. Please help me properly replace outdated pa...
[4 replies] Last: It looks like I've been ninja'd in regards to the answer. One more thi... (by Computergeek01)
homework help please!
 
Hi everyone.. I need some help on a homework assignment. I have been reading on it and trying to cre...
[2 replies] Last: Thank you so much! It worked :) (by klove93)
.f float suffix question
 
I'm trying to get my head around this piece of code, which demonstrates the use of integer literal s...
[2 replies] Last: Thanks Ganado. I wasn't relating it to binary, makes much more sense ... (by slouchcouchgamer)
2D Arrays in a Function
 
Hello, I am trying to create an AI Player for my Tic-Tac-Toe game, yet when I try to make the AI cha...
[3 replies] Last: Alright, thanks for the help, guys! I'll update my program now. =) (by JackMorrill)
by T4l0n
return struct function
 
i can't manage to return the naga.x value in the line 55 function #include <iostream> #includ...
[2 replies] Last: Your code copies newships quite a lot. Also, most of the functions wo... (by dhayden)
Truth Table [Help me]
 
Our teacher told us to make a program about truth table. condition 1 condition 2 false ...
[2 replies] Last: Thank you sir! :) (by iamnoob15)
pointer to pointer to const
 
why this code is illegal ? int i = 10; int const *const cp = &i; int const **cp2 = &cp; //if ...
[3 replies] Last: int const *const cp = &i; You cannot change the pointer cp, nor the ... (by dhayden)
by vikk
Develop C++ program for Linux on Win7.
 
I need to develop a program targeted for Linux (Debial 2.2). I'm using a computer with Windows 7 (6...
[8 replies] Last: When I say 'clone' I mean this: https://www.vmware.com/support/ws55/do... (by vikk)
by eastw
Vector Iterator Not Incrementable
 
I try to store all generated value by pushing the values into vector. However I encountered a deb...
[5 replies] Last: because after this, pushing the values into a vector is done.. I will... (by eastw)
by skkwan
A small program about interest loan from bank.
 
Hi guys , I'm new to C++ programming language. I made a program but I need some suggestions to impro...
[6 replies] Last: Yanson, Oh yeah! I've forgotten if a user enter a character, a big mi... (by skkwan)
reading from file
 
Hey! So I recently started to learn c++. I'm now working with reading from file tasks. I now know ho...
[6 replies] Last: How all the code should look like? (by Dovydas Milius)
Can't understand the meaning of some code using stod()
 
I am not understanding the meaning of the following 2 lines. What does it tell the program to do? ...
[5 replies] Last: Thnak you all..its clear now. (by abdalimran)
by bonho
std::map key sorting
 
Hi, I'm wondering if there is an equivalent of std::map in which the iterator is sorted in the wa...
[1 reply] : You can give the std::map third template parameter: Compare That way y... (by keskiverto)
Making stack with linked list - Confused
 
I know we're not supposed to post homework here and I'm not. I'm hoping someone can clarify exactly...
[1 reply] : > Previously when I did linked list the head was the same as every oth... (by ne555)
return
 
Hi, I am trying the following code. I haven't written "return" in the function, and I expect afte...
[7 replies] Last: Thanks a lot. (by OmidMech)
Auto formatting- Visual Studio 2008
 
Hello, I am a mechanical engineer by profession but I have just started learning c++. This ques...
[no replies]
Reducing a matrix by 1/4 size
 
I'm doing a practice problem and it states: Image data is conveniently represented as a matrix of v...
[1 reply] : I got it working a bit but I'm not sure if it's correct. I'm a bit con... (by hellworld136)
chat between two computers using LAN
 
hello...! Can any one help me in (C++ or in general programming) chatting between two computers wit...
[2 replies] Last: just i want to chat between two computer using lan in c program implem... (by SamuelCBG)
Data Structures example in tutorial.
 
I am reading through this(http://www.cplusplus.com/files/tutorial.pdf p. 78) tutorial and it has b...
[1 reply] : notice the underscore. movies _ t is the type. So that is why you ne... (by giblit)
copy one array to another
 
hey guys i need a litle help why this code will not work?? plz help me a = b works but it is a s...
[11 replies] Last: thanks bro can you plz tell me about shared_pointers in c++ actually ... (by MRKSalman0349)
August 2014 Pages: 1... 56789... 40
  Archived months: [jul2014] [sep2014]

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