Beginners - October 2011 (Page 44)

C++ to Python Convert
 
Can someone help me convert the following C++ code to python, please. I am fairly new to python. ...
[no replies]
by aasaa
Ctor + overloading =
 
hey, if I have defined * the copy constructor in my class * and also implemented my '=' opera...
[1 reply] : The assignment operator. The copy constructor is only called when the... (by Disch)
by aasaa
overloading
 
why this code won't work? #include<iostream> //=============== Complex =======================...
[1 reply] : Read the error carefully In your case operator+ is a global function... (by ne555)
by Floeps
Template help, like Comparable in Java
 
Hello, I'm new to C++, coming from mostly Java. I'm trying to implement a binary tree, and I want th...
[3 replies] Last: Thanks! (by Floeps)
by aasaa
overloading
 
why this code won't work? #include<iostream> //=============== Complex =======================...
[4 replies] Last: thanks, It seems that today is not my day !! (by aasaa)
sum of series, output series...
 
I have been asked by my teacher to try out a few c++ questions on series. I would appreciate it if s...
[no replies]
by Grux
Remove extra whitespace using fstream
 
Hi, I am trying to create a program that will remove all of the extra whitespace in one file, and ou...
[4 replies] Last: Do you just want to insert newlines or do you want to preserve the new... (by moorecm)
by dugeen
Letting exit from scope tidy up for me?
 
Is it considered good programming to do this? class A { A() { /* open file handles, allocate me...
[3 replies] Last: Right, that explains a few things. I will remember this as 'type A* is... (by dugeen)
Problem with if command
 
hello. I am beginner in C++. I wrote this code but when i execute it and enter the letter F I get...
[2 replies] Last: Also: if (y = 'd') should be if (y == 'd') In C++ = assigns a v... (by Galik)
how do i declare a variable in this context so that it can be used outside of this arguement and anywhere else in my program?
 
hello im having a issue with my code i want to make the intergers inside the body of this arguement ...
[4 replies] Last: okay so in my arguement i want a interger declaration for my_mousex, m... (by Noobscratcher)
by Modify
Finding part of the string followed by space
 
Hello, How can I actually find part of the string lets say: string abc ("1000 1111 11") I want to...
[no replies]
Little problem :(
 
Hello everyone, im very new to C++ and i've been learning it for like a week now, and i was wonderin...
[4 replies] Last: I comment system("pause>nul") because it does not need in IDE like cod... (by Dinesh subedi)
chek if array B is substring of A
 
\\i am not getting why is this not working well \\ input:string A and B \\output:tell whether B is s...
[2 replies] Last: i don't understand where my code goes wrong.@kbw (by Shehryar Raza)
by asrat
Header file linkage
 
I have one header file named to say january.h and one source file january.cpp. (Syntax is OK) I am ...
[no replies]
Problem - Unable to debug
 
I have created a program store user data in file. But i am only getting one error only but i am una...
[3 replies] Last: i am getting the following error. ) expected on the line int emp... (by dudekill123)
for loop
 
hi, my prof recently assigned us a project in which we had to use a for loop. the program would have...
[3 replies] Last: thank you very much for replying, it solved my problem :) and i apolog... (by icefalcn)
PC Rental Application.
 
Here is what I ended up with. Can I ask a couple of questions? First, why does my timer run only ...
[no replies]
Rock, Paper, Scissors program issue...
 
I can't seem to make this work. For some reason the PlayerChoice is getting randomized so that the u...
[4 replies] Last: if you break; , you exit the switch. (by Disch)
Human Resouce[HR] System
 
** hi guys .. i nid to finish it until tomorrow morning .. the Admin USERNAME is IT2B and the ...
[3 replies] Last: i'll make it after i posted it . i'll do all the functions and a bette... (by nicemark)
Help with NaN function
 
Hi everyone, I am trying to write a function that can help me differenciate between a number and ano...
[2 replies] Last: You are asking about Input Validation Basic info: http://www.cplusp... (by Duthomhas)
October 2011 Pages: 1... 4243444546... 59
  Archived months: [sep2011] [nov2011]

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