General C++ Programming - April 2011 (Page 3)

by ameen
How to change variable value without recompiling source code
 
Can any body tell me how to change inputs (variables) without recompiling source code? for example I have a code and first I compile it, and then run or execu...
[8 replies] Last: Thanks writeonsharma. (by Caligulaminus)
by asniex
I have learned everything in the tutorial Section Now what should i learn next?
 
Hello guys, I have learned everything in the tutorial Section Now what should i learn next ? I wanna become a good programmer guys . I wanna make Fully Undetect...
[6 replies] Last: @khaltazar I wanna learn more man that wat i am asking you guys i know... (by asniex)
Printing vectors
 
Hello everybody, I'm kinda stuck with a little problem. I hope you can help me. I won't copy paste the whole source code, but just the important things. I ha...
[1 reply] : There're many ways to do it. This is one using the ostream_iterator: ... (by coder777)
by toks
automatic execute program
 
Hello friends, i would like to ask, how can i execute automatically a c++ program in a specific time (for example at 1:00 pm) ? Is it possible to execute a p...
[3 replies] Last: Thank you very much ! :) (by toks)
Moving a peak
 
Hello everyone, I would like to focus a letter E as a function of the position of correlation peak: But there is a problem in the compilation, and I see i...
[8 replies] Last: Good evening, My program hangs here:i=disco(arch0,dim,dim,1,cr,4); Wi... (by nomadstorm)
Abtract parameter types?
 
Hello guys, I don't know whether this is the right name for what I'm going to ask about. But I see often functions called or implemented in Qt and other prog...
[5 replies] Last: Thanks guys :D (by TheDestroyer)
Need help with C++ program!!
 
Question: Create a class called XYPoint that has public floats to hold the x and y values of a 2D point. The class should have a constructor with default values...
[2 replies] Last: I believe the ambiguity problem that plague C++ is avoided entirely by... (by sohguanh)
by jrok
Finding the Subject and Object in a sentence
 
I'm writing a program that finds the subjects and objects of a sentence and labels them as Sub, Indirect Obj and Direct Obj. I'm frankly running out of ideas on...
[4 replies] Last: Thanks a lot Abramus. You've been a great help. I'm considering your w... (by jrok)
Converting from XML to PDF
 
Hello Programmers..... Please Help.... I am new in C++ and I am Investigating on how to Convert Programmatically from XML to PDF in C++ or VC++... If you hav...
[3 replies] Last: For XML, I usually use Apache Xerces C++ Parser. There are others of c... (by sohguanh)
Segmentation Fault Error
 
Even though the source compiles with no error, I'm having some segmentation fault error in my program when I run the debugger. This program creates a dynamic da...
[7 replies] Last: I did some debugging on that simplified coding at your first paste and... (by b2ee)
by paeez
for loop
 
Hi dears I have a problem in my program that is : In part of my program , one function find a matrix like this for (i = 0; i <= n - 1; i++) { ...
[no replies]
How to alter Chars within Strings with Vectors
 
Hello, I would like some help figuring out how to take a vector of strings, and manipulate the letters of each individual string. Ex: vector<string> names...
[2 replies] Last: Thank you Gorav. (by mwforrest7)
HELP, IM STUCK!
 
Can anyone tell me why my program is outputting an extra line at the end of my file? Also I am not sure how to sort this data alphabetically and keep the phone...
[1 reply] : In the line right before the return 0, you are outputting a newline. ... (by h3432)
by DrDee
Problem: Reading string with Umlaute from cin and writing to a file
 
Hello everybody! I have following problem for roughly one year: I want to read a name from stdin/cin and write this name to a file. The problem is that th...
[3 replies] Last: Oh. Sorry... It seems I wasn't paying enough attention the first ti... (by Duthomhas)
Problem with While Loops
 
I'm currently taking an introduction to C++ class online and my professor is unavailable at the moment for help. I was hoping someone could help me with a probl...
[3 replies] Last: http://cplusplus.com/doc/tutorial/control/ (by closed account zwA4jE8b)
Help with c++ interface
 
I got new assigment of lecturer, and i need to program a calculator, but calcultaro shouldn't be in black screen as .cmd is. I need to create a field og a scree...
[5 replies] Last: Like I said, you can try looking into the 'curses' libraries for cross... (by Zhuge)
Problems with vector [] operator
 
Hi, I can't solve problem with returning char array using operator. For example I have std::vector<unsigned char> Buffer; ... const unsigned char * St...
[8 replies] Last: ...In short: cout << '"' << '\0' << '"'; //will output ---------... (by Mathhead200)
Help with code!
 
Hi, I'm currently doing an assignment using eclipse, when I build the files there is nothing wrong with any file in particular, but the project has an error, he...
[5 replies] Last: Ha ha, I have looked at that code dozens of times and each time I thou... (by jordanburnam1990)
by HenriK
Style to program - Could this be good coding style?
 
Hi, this is my second topic here and here I´d like to discuss about C++ coding style. Below I have two files, header and source file I have created some time a...
[16 replies] Last: Since when an int has an amount_extension field? (by ne555)
applying textures in openGL
 
Hey I've been going at this for a little bit, and ran into some consistent error between source code examples I found on the net. I think it all has to do with ...
[1 reply] : I don't really know how to deal with resources, but you don't need tha... (by hamsterman)
April 2011 Pages: 12345... 37
  Archived months: [mar2011] [may2011]

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