General C++ Programming - April 2012 (Page 49)

by five1
Error invalid conversion from char to const char*
 
Well I have created a header file and a source file. And this invalid conversion from " char to const char*" error occurs. The header file is: using names...
[3 replies] Last: Ok I got it . Thanks guys. Solved. (by five1)
Automatically create a filename for a datafile based on input
 
Hello, I have a number of command line arguments for my int main() program which are used in my program. I would like to pass these input arguments to the fstr...
[8 replies] Last: You don't own the memory pointed to by filename, so that's very unlike... (by cire)
What is causing this code to run slowly?
 
#include <iostream> #include <cmath> using namespace std; int new_value, amount = 1; int rotate(int x) // Rotates each number pass...
[19 replies] Last: @wtf,, if this has indeed whetted your curiosity, then I think you sho... (by Pravesh Koirala)
by rezonk
Please help me
 
How to insert the function on this program> #include<iostream> using namespace std; struct Student_Record{ int id_num; int assignment; ...
[13 replies] Last: This not correct (by rezonk)
Size of array stupidly big (Dynamic memory allocation)
 
Hey all, I'm trying to create an array of characters from a CString. When ever I go to allocate memory for the array of characters, it is stupidly big and clear...
[4 replies] Last: Oh ok. Thanks very much for taking the time to explain! (by petemyster)
by pel k
int and double,c++
 
Hello!I am trying to make a programm at c++ which will read grads and will give degs.The only problem i have is that when i give an integer as grad,the programm...
[5 replies] Last: the problem was when i was inputed ints,like 54 grads.i found the answ... (by pel k)
by jae
How to change text and background color?
 
I want every character to be a different color. for example, cout << "Hello world" << endl; 'H' would be red 'e' would be blue 'l' would be orange an...
[2 replies] Last: @jae Here is a small program that does what you were wondering about.... (by whitenite1)
Anyone know how i can do? [Solved]
 
Ok so i was wondering i want to make a program that can do the following. Search for a range of numbers and return everything that is within certen paramaters....
[2 replies] Last: Yep got it working now. (by WetCode)
C++ List
 
Is it possible to replace an element in a list, with its derived class's object during the game loop(the infinite while loop) and then perform functions on this...
[1 reply] : If you have to do a dynamic cast, it's generally a bad idea. If you c... (by PanGalactic)
by stbb24
Combining Different Method of Image Watermarking
 
Hello and Good Day! I'm about to take my Senior Thesis and the topic that I choose is about Digital Image Watermarking. I have no experience in Image Proces...
[2 replies] Last: which is more convenient to watermark jpeg or png? (by stbb24)
April 2012 Pages: 1... 474849
  Archived months: [mar2012] [may2012]

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