Beginners - May 2013

lexicographic order
can anyone tell how the lexicographic order work? I'm trying to solve this problem but got stumped b...
[6 replies] Last: What do you mean by sort them by the third? Is the same first two lett... (by Scorvus)
Shouldn't I delete this pointer?
Hello! Today in my C++ programming course, I showed the teacher some code he changed to the follo...
[1 reply] : It's important to make a distinction between: 1. "Pointer" as a variab... (by helios)
Running an external .exe in a console app
What's a good alternative to system(...)? I would like to place the .exe in the same folder as my p...
[2 replies] Last: Sorry, should have looked it up first. (by DrZoidberg)
Writing to/reading from files
When using ifstream file; ("Data.txt"); file >> variable; Is there a way t...
[2 replies] Last: Thank you (by DrZoidberg)
Trying to extract a certain string from a text file
okay so im new to programming and Ive emailed my prof 3 times to ask for help but she hasnt replied,...
[1 reply] : Here the entire contents of the file is displayed. But you could easil... (by Chervil)
Working with Arrays and Loops
I am trying to create program that asks a students information. However when I run the program the f...
[4 replies] Last: right clarification, miiniipaa. apologize for my lack of precision, bu... (by ar2007)
STL list, need help using remove
I am creating a "Graph" ADT using a multi-list for one of my c++ classes. I am not very familiar wit...
[4 replies] Last: No, that would not work. The parameter for remove_if is a predicate .... (by keskiverto)
by Nexy
friendship not being recognized
Hello, I'm learning about the friend function but I can't seem to get it work though. Can someone te...
[14 replies] Last: That still didn't fix anything. I get the same error and still can't i... (by Nexy)
Random Number Generation Issue
Hello everyone, I have recently watched a tutorial on generating random numbers, however there seems...
[3 replies] Last: Thank you for all the feedback.... @dedlier Although with your method ... (by LethalJ)
Need Help with 2D dynamic arrays and finding largest product of any four adjacent numbers in the array (1,2,3)
Hey guys, I need help with writing a program that creates a 2D dynamic array from a command line arg...
[40 replies] Last: We have already shown by pointing you to a thread that has an example.... (by keskiverto)
Please help me, about decimal in C++..
So, i wrote this code: //On a certain day the British pound was equivalent to $1.487 U.S., th...
[10 replies] Last: BTW... All standard i/o manipulators which set or reset something, w... (by andywestken)
Troubles with mancala
For my class I'm making a mancala game, but I'm having troubles with the actual movement of marbles ...
[no replies]
How to create an unclosable form ?
I want to create a form that you can't close. Obviously disabling the Control Box isn't going to be ...
[3 replies] Last: Thank you both, I got an in-depth answer in the Windows forum. (by DrZoidberg)
Opening new program from within a program
I want to open a new terminal window using a program just the way a window is created using the wind...
[9 replies] Last: Yes i understand that for creating a process, you need to use some OS ... (by letscode)
Memory Leaks. String Help
So, I'm having a problem actually understanding memory leaks I suppose. I thought I had a grasp, but...
[8 replies] Last: Does the standard allocator for string use memory pooling? Many impl... (by JLBorges)
ERROR: Label "foo" was referenced but not defined.
So I was fooling around with some C++ and got the previously stated error with some code that looked...
[10 replies] Last: Anybody with access to this forum has access to the Internet at large,... (by MikeyBoy)
by Zexd
for switch
I wrote the following program... I didn't compile it yet because I am looking for the way to break a...
[10 replies] Last: something like this? bool bStillGoing = true; while(bStillGoi... (by mutexe)
by tdk93
tried linklist implementation using two classes(node and list), error
i tried implementing Singly Linked List using two classes, SLLNode(node) and SLL(list class) Here're...
[3 replies] Last: It is obvious that instead of SLL *head, *tail; there shall be SLLN... (by vlad from moscow)
by Pebble
Simple Class: Path of execution.
I'm teaching myself about Classes so i can start using SFML, But Cant work out how the function at ...
[2 replies] Last: Thank's coder777. (by Pebble)
problem with atan in c++
Iam writing a program for my senior project its a program to input the current coordinates and the d...
[4 replies] Last: There are a few issues with your original code. if(x1=x2) if(y1=y... (by Chervil)
May 2013 Pages: 123... 65
  Archived months: [apr2013] [jun2013]

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