Beginners - January 2011 (Page 38)

Pointers and functions
 
Okay so I've been wrestling with this for two days for a total of well over 20 hours. I've read through the tutorial on this site and five other sites, watched ...
[13 replies] Last: Well, the thing is that a char* is generally regarded as more of an ar... (by firedraco)
Vectors
 
Hey, im having problems with vectors again... :S OK first of all the source code: #include <iostream> #include <vector> using namespace std; int...
[9 replies] Last: i can see the output of the programme is wrong then its what to be aft... (by pcultras)
Problem reading from csv file after writing to it in c++
 
Hello guys, I'm quite new to C++, I'm trying to achieve a task whereby i could read from a csv file and write to that same file and vice versa depending on the...
[no replies]
by blgblg
breath first search
 
i need source code of breath first search for my homework.is there anybody who can help me?
[5 replies] Last: Show us what you did. how did you implement the queue, the mark check... (by ne555)
by larod
Overloading assignment operator problem
 
Hello! I'm having a problem with overloading "*" operator and the "=" operator. The code in main goes like: P3 = P1*P2; The error I get: /Volumes/Lar...
[3 replies] Last: It actually should be Polinomial& operator = (const Polinomial& P) i... (by Disch)
Check Box and the ability to remove an item from an xml file
 
I'm creating a windows app that gives the ability to save items of your choice. There is currently 4 attributes to each item, I want to give the user the abilit...
[no replies]
Is my compiler not working properly?
 
Hi, I've been programming for about three weeks now using Xcode. There's been the occasional compilation oddity but for the majority of the time, everything's ...
[3 replies] Last: I have tried compiling this using g++ multiple times with varying valu... (by rojSarton)
Press Enter Twice
 
Hi, I`m new here and, of course, have a small problem. I need to create a program with VC++ 6 Builder where: Press ENTER once - open picture, Press ENTER T...
[10 replies] Last: Finally I figure out how to solve this problem, thank you Davitosan (by alone882)
by TBird
STL Linked Lists, Sorting Problem
 
I am trying to use the Standard Template Library linked lists for the first time and I hit a problem with sorting. I need a table with two columns and an arbit...
[4 replies] Last: Oh, that makes sense. Thanks for the help, looks like it's working no... (by TBird)
by chenco
why i get this eror
 
hi all i wrote this functions and got all the main written already and i get the end of syntex eror all the time can somone help me pls thanks p.s if u ca...
[6 replies] Last: Here's more reading for you: http://www.cplusplus.com/forum/article... (by Disch)
by CNOOBC
Text Files lines
 
Textfile example: 3 2 5 7 9 I want to know how i can for example add to line 3 or read only line 4, in other words assign each line to a function. ...
[1 reply] : You have to read the lines into memory, apply your changes, and if you... (by kbw)
Vectors Problem
 
Hello, I just started learning vectors recently and i just wanted to test my skills... I wanted to make a simple programme where you type in the money u have pu...
[2 replies] Last: Thanks alot. How could i missed that out :S yesterday i spent like an ... (by pcultras)
N(log) and stuff...
 
Hello there! Everytime algorithms are discussed on this forum, people state its complexity with stuff like N*N and N(log) and stuff... I read the article "a...
[7 replies] Last: Thanks a lot, chatura666. I'll look into it. (by Davitosan)
by NSH
random 2-d array problem
 
I've been working on writing a program that randomly fills sites in a 2-D array (10x10) with 1's and 0's that meet a user input for the fraction of 1's sites co...
[3 replies] Last: When I ran your code (same as first post with only the do-while loop r... (by rojSarton)
combining 2 different file
 
hello guys ... I want to know your opinion about how to merge 2 different files ... for instance , File 1 contains 1 2 3 4 3 2 2 4 2 1 1 1 2 ...
[2 replies] Last: I'm new here, but I think I have your code working. Two main comments... (by rojSarton)
BST with supernodes
 
Can someone help me implement the generation, addition and deletion of a binary search tree with supernodes?
[no replies]
X to the power of Y
 
Hello all of you, hope you all had a great holiday but I have a question/problem, it has really to do more with a math question than a coding question, at least...
[4 replies] Last: remember, we don't do homework problems here. as for your hint, rem... (by closed account 4Gb4jE8b)
by Zyborg
returning a 1 throughout the code
 
I am currently going through SDL tutorials by lazyfoo on lazyfoo.net and I was wondering if someone could explain something for me. The tutorials often use cod...
[6 replies] Last: Actually you are not restricted to just the primitive type. You can ha... (by sohguanh)
Small explanation needed
 
#include <fstream> #include <iostream> using namespace std; int main (int argc, char *argv ) { if (argc != 2) cout<<"usage: "<< argv <<" <file...
[4 replies] Last: thank you very much!!! i just had a small epiphany after i read yo... (by AceFace)
What's wrong with this code?
 
std:: cout << result << endl; Thank you
[5 replies] Last: endl not only print a newline but also flush out to the stream immedia... (by sohguanh)
January 2011 Pages: 1... 3637383940... 42
  Archived months: [dec2010] [feb2011]

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