Beginners - November 2010

exercice
 
Hello everybody, I am a beginner in c++! I'am doing an exercice but I have a problem that i can't so...
[1 reply] : [co de] Your code goes here [/co de] Point P2; Here you are usi... (by ne555)
by exca
how to overload operator= with pointers?
 
Hi all, I have written some classes in my code, and when I create object pointers of it, I want t...
[3 replies] Last: You may not need to define one for your nodes but I don't really know ... (by kempofighter)
Need advises doing exercise!
 
Exercise:make an algorithm counting average y values.Formula y=sqrt(2*t+x)when t=(1/(x-2)) x changes...
[5 replies] Last: Mind keeping it english pls :D, would like to learn out of this aswell... (by Faff)
Counting characters in a sentence
 
I need some guidance. I want to create a program which will count characters in words within a sente...
[no replies]
FUNCTIONS
 
Hi there, I am trying to learn the concept of a function but looking for information on the web and...
[8 replies] Last: That would be this one :) Though in this case I think the first on wo... (by Faff)
simple program crashing
 
Howdy, This little program I've written for my class keeps crashing when trying to output elements ...
[6 replies] Last: You are making this way too difficult. Just insert the strings into t... (by kempofighter)
by userpl
Split strings + writing into variable under condition
 
Hello This program read file and then it uses strcspn() to split strings. It displays words. I'd ...
[no replies]
by userpl
Split strings + write into variable under condition
 
Hello This program read file and then it uses strcspn() to split strings. It displays words. I'd ...
[no replies]
by phunk
string matrix addition to get answer of type double
 
// Hi , Program is to get the final marks based on the following formula. // I get an error that i...
[no replies]
by ipcmd0
C++ w/Operator Overloading & Inheritance Failing to Execute
 
Hello, I've been banging my head on this for a while now. I have two classes, RationalNumber and Te...
[1 reply] : The program seems to fail when I try and create a default Term object. (by ipcmd0)
Replacing malloc with new
 
Hi, I'm trying to replace this line array = (el *)malloc(realsize*sizeof(el)); with this one ...
[6 replies] Last: Awesome info, thanks for everything disch (by claudiordgz)
Chatbot: Many Issues
 
Well. After a 2-3 year break from programming (Done a bit, but no C or C++ unfortunaly), I finally w...
[1 reply] : [code firstline=20]//typedef std::vector vstring; typedef std::vector... (by ne555)
Exception
 
i don't know about part of "exception" Please help me to know. thanks!
[1 reply] : http://www.cplusplus.com/doc/tutorial/exceptions/ (by firix)
Comparing Arrays
 
I am working on a project for school in which you must take an answer key, students names and their ...
[1 reply] : for//a for loop because you are preforming an action for each element... (by hamsterman)
Characters programme
 
Hello, I am new guy in here and I am learning how to use a C++, but I have problems. How to use thi...
[1 reply] : You mean, how to use iostream ? printf("This line will be with low t... (by hamsterman)
by Prex
Opperand Error in If statements
 
so I'm writing a program to check sudoku puzzles as you solve them, so if you put a number in a spot...
[2 replies] Last: Ahh, that makes sense, thank you. I'll probably switch to characters (by Prex)
by potpot
Largest sum of given coloumn
 
I have a problem with getting the largest of the sum of every column in my array. What I need to do ...
[1 reply] : You could put every sum into an array and then find the greatest value... (by hamsterman)
Employee class code outputs
 
Recently I got this written test qns which seems tricky at least for me. Can someone guide me along ...
[8 replies] Last: Hi Return 0 What I hope to have is step by step on how to get the a... (by makan007)
cannot compile the program
 
hello there.. i cannot compile the following program..please need your help //This program will ...
[5 replies] Last: Thank you tmoney ..going to try it next time:) (by engineer sara)
by Rave
Deleteing from BST
 
ok, i need to delete a tree from a binary search tree, the simplest case is when i want to delete a ...
[1 reply] : Depends on how that tree is build. If I'd do that I'd have an array... (by coder777)
November 2010 Pages: 123... 42
  Archived months: [oct2010] [dec2010]

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