Beginners - October 2011 (Page 10)

by tonnot
Is there any other way to call non const function from const function rather than make mutable some elements ?
 
I have a const function provided by my framework (QT) from where I call to a non const function. A...
[2 replies] Last: thanks coder, but I'm affraid you answer to another question.... (by tonnot)
by zarzak
file being read twice
 
Hey all, I am a C++ newbie, and am working on some code. My code has several functions, one of whi...
[6 replies] Last: That fixes it! The file given was provided by the teacher, and we've ... (by zarzak)
Factorial Program Help
 
I have looked through all the forums and have not found out what I needed(despite all the topics abo...
[6 replies] Last: Ahh okay, Thanks for explaining that for me!! (: (by knicole89)
by banan
how to make the combuter differentiate between capital or small or digit ??
 
hi, i'm new student in the c++ programming .. my homework tell us to enter differentiates between...
[1 reply] : http://cplusplus.com/reference/clibrary/cctype/ http://cplusplus.com/d... (by ne555)
by homsta
Using time function, can I get specific variables like month or day?
 
I have a type "transactions", with different types including some ints for date. I saw some function...
[2 replies] Last: ... or any of the time functions. Read the documentation for the <ctim... (by Duthomhas)
pointers
 
#include<iostream> using namespace std; int main() { int x ; double a ; int *b ; int(*c) ; ...
[2 replies] Last: It's important to note the reason this operator exists. That is, that... (by moorecm)
by alend
Dangling Reference work perfectly!
 
Hi In a c++ book, I have found an example of Dangling Reference: #include <iostream> using na...
[12 replies] Last: In C++ const reference is a kind of hybrid. if there isn't a variable ... (by coder777)
by ToniAz
C Strings help
 
Hello Everyone! I'm not a fan of C Strings, but it's the only way I know to get an argument strin...
[1 reply] : cout << "http://"+string(argv ) << endl; (by Athar)
by alend
Null terminate
 
Hi Are all array in the c++ or c terminate with Null (\0) char?
[1 reply] : if you create an array, it has random information until initialized. ... (by Azagaros)
by tonnot
Cant access to a pointer-vector map element,
 
I have a similar question posted as an answer (and I think the post are going to be forgotted) and e...
[2 replies] Last: Thanks , uf what a such simple mistake ..... (by tonnot)
by tonnot
Vector of pointers to vector<map<int,structure> >
 
I dont know how to write this. I have: vector<int> vector_of_pointers; void create_vector() { v...
[3 replies] Last: 'buffer_current' is a pointer to vector< map<unsigned short int,col_d... (by coder777)
by zz77z
copy a string into a dynamic array
 
hello .. help me with this : i have a function that recieve a string name and i need to copy t...
[1 reply] : i've manipulate this method while im searching string FileMeasure=... (by zz77z)
converting inputted character to its integer code
 
#include<iostream> using namespacestd; void readonechar(char) int main(){ char ch; cout<...
[4 replies] Last: A character already is its integer code. All you have to do is cast i... (by Disch)
by gh24
Line Numbers In VB 2010
 
Hi, I'm using VB 2010. How do I get line numbers to show up next to my code? I have finally adv...
[no replies]
need help with basic c++ please
 
I was assigned an assignment that my professor did not teach us how to do at all, so can someone ple...
[5 replies] Last: Thanks! I appreciate this a lot! (by tmfrosch9)
by shravz
c++ program
 
My assignment is to write a program -- Write a function named celsius that accepts a Fahrenheit temp...
[6 replies] Last: First of all, shravz, out of the assignment given to you, what do you ... (by JokerDan)
by WskOsc
Logical operators and the headaches they bring
 
I've recently taken up learning programming, finding that Java just wasn't for me I've headed over t...
[5 replies] Last: [co de] "Please use code tags" [/co de] Any idea why the debugge... (by ne555)
Need help with Big O notation
 
I have no problem finding the run time complexity of expressions (such as 5n^5+n^2), but I am having...
[no replies]
by Yezman
Reverse Number program almost there, 1 last error
 
int reverseNumber(int n) { { int a = 1; int b = 1; int y = 1; int x = 0; while(b ...
[1 reply] : If you hard coded these numbers in your source file, I think your resu... (by EricDu)
Help with while statement with reading and writing on input and output.
 
Okay so I'm guessing the problem here is a very very small one. Its a long program that I have but I...
[no replies]
October 2011 Pages: 1... 89101112... 59
  Archived months: [sep2011] [nov2011]

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