General C++ Programming - March 2011 (Page 28)

c++ golf
 
I got this idea from the Perl guru forums. In c++ golf one person gives a problem and everyone else ...
[7 replies] Last: You could just use the comma operator then. not for ifs, whiles, ret... (by hamsterman)
Data structures using c++
 
Can you suggest a source ( preferably online ) on data structures ?[using pseudocode or c++] I wa...
[3 replies] Last: Thanks for the suggestions and the link. (by oldnewbie)
Structure initialization using new - c++
 
Hello, Declaring a structure in C++ results in automatic initialization which results in safe beh...
[3 replies] Last: Here is demonstration: #include <iostream> using namespace std;... (by simeonz)
reading and editing a txt file in console window
 
Hello everybody, this is my first post in a forum like these so sorry if i'm not completely clear ab...
[12 replies] Last: Sorry, yes, EmployeeEdit() is in the declaration of the class. I'v... (by jimmyo88)
by Brain7
How to create vector of vector to handle data list
 
I want to use a vector of vector for my data handling in c++. The data str uctre which i want to cre...
[4 replies] Last: Look at the string class for ideas about finding each number in the li... (by kooth)
Sudoku solver problem.
 
Ok when I try and run it it seg faults and I can't seem to find out where. Also if you see any place...
[1 reply] : It would help to see the rest of the code; in particular, the main f... (by Moschops)
Chinese Character Issue
 
Hi, Need help as i am stuck in following issue I am passing string array from PowerBuilder...
[5 replies] Last: Following is the function where PowerBuilder application passing value... (by pareshbhosale)
Writing to serial port through com3.
 
I'm not sure if this should have gone into the beginner, but nonetheless: I'm attempting to turn on ...
[5 replies] Last: [quote=evinism]Guys, don't be stupid like me and let windows choose yo... (by guestgulkan)
Creating a MENU for my prgoram; Funtion or Class
 
Hi, I am creating a program where I can store data from a person: Bday, address, name, and phone num...
[4 replies] Last: # include <iostream> # include <iomanip> # include <conio.h> # incl... (by lapoker85)
extended vigenere cipher problem
 
Hi all, Firstly apologies for a somewhat cryptic(!) post, I'm terrible at explaining problem like...
[2 replies] Last: Wow, thanks very much. That was indeed the problem. I wrote the ruby v... (by iwasinnamuknow)
Stl containers Need Fastest Read and write, non random
 
Hi this is my first post. I am writing a program that generates random numbers and puts them in a c...
[11 replies] Last: Subscripting arrays is the same as incrementing pointers Equivalent e... (by Bazzy)
Can't figure out slight error
 
I'm getting the error: Twitter.cpp: In function ‘int main()’: Twitter.cpp:46: error: request ...
[11 replies] Last: That fixed it. Thank you (by f00tiefan)
by Kuo000
What does fflush() do?
 
Hi all, I program in C/C++ a bit but am never really sure what fflush() actually does. I've read ...
[no replies]
String to char convert method(Made by myself) Copyright Helegurbann
 
String to char convert method this: #include <iostream> using namespace std; int main(){ stri...
[7 replies] Last: Hmm.This adds finalist letters itself.Why?This is very interesting :) (by Helegurbann)
by Vita
How to sort string array alphabetically?
 
Hi, I was trying to sort an array of strings alphabetically. Can someone give me an example how t...
[1 reply] : A couple of things I noticed... void Citaj() { fstream fajl(... (by m4ster r0shi)
by Timbo1
Functions
 
Hi there, I am trying to write my own function that uses arrays to carry out the same function with...
[3 replies] Last: Well... Try this: void Populate(int Amount, string TagArray , fl... (by m4ster r0shi)
Screen Capture
 
hi, i was wanting to capture realtime screen activity and save to video. How should i go about this?...
[3 replies] Last: In that case you would want a log file. Actuall screen capturing softw... (by Computergeek01)
Knowing data type at run time
 
Hello, I plan to use C++ to create Json objects i.e. name:value pairs. The name is always std::st...
[11 replies] Last: boost::any is wrapper for arbitrary type, which provides value-semanti... (by simeonz)
struct problem
 
i am doing a program that user can input the filename, and i can run in to count the word frequency ...
[11 replies] Last: If I got it right and you are working with files and counting words in... (by bboy212)
by spins
problem in assignment operator, with class array
 
hello, i´ve been having this problem with a assignment operator in a class, and i´ve been searc...
[4 replies] Last: yes, that makes sence, i understand... now i can continue with my work... (by spins)
March 2011 Pages: 1... 262728293031
  Archived months: [feb2011] [apr2011]

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