General C++ Programming - January 2011 (Page 8)

by Kuci
Get data from internet
 
Hi everybody, i need help with something interesting :) I need to get weather by my region, which is set my PC. Can you help me woth this pls ? THX !
[1 reply] : Looks like the national weather service has SOAP available. http://ww... (by naraku9333)
C++ Web Extraction
 
Hello Everyone, I was wondering how to extract data from websites and use it in my program. For example how can I have my program read the HTML code and save...
[12 replies] Last: I hope this isn't off-topic but if this is more about the productivity... (by Kiana)
connect(...) timeout?
 
I have an IP address that I connect to using the following: connect( mySocket, (SOCKADDR*) &myAddress, sizeof( myAddress ) ) This blocks until a connect...
[no replies]
Problems compiling with spec file.
 
Hi, I'm trying to add a MinGW Default Library search path using a spec file I've placed at /mingw/lib/gcc/mingw32/<version>/ as instructed by this page here: ht...
[no replies]
parsing formatting data
 
.doc, .rtf, and .txt all have different formats, especially if saved in different programs. I'm writing a program that can handle unformatted types of all of th...
[2 replies] Last: oh joy! The program I'm working on is a text parser... i was hoping... (by closed account 4Gb4jE8b)
by Null
Random negative numbers
 
Hello, I want to generate random numbers in range of -4 and 4 int main() { srand(time(0)); int result=0; for(int i=0;i<1000;i++) ...
[7 replies] Last: Some people say that the encryption of communication between home comp... (by simeonz)
Splitting main function code into separate functions
 
I am fairly new to the C++ language, and I would like to know how beneficial consolidating the code help within the int main() function into separate function...
[2 replies] Last: Thankyou very much! (by nathanwhite)
Shared variable and function identifier/name problem
 
Hello, I'm facing some issue with de following idea : I try to use the same name for a variable and some functions... but indeed there is no way to compile it...
[5 replies] Last: @ne555 : That's it ! It works like a charm... here is what i add... (by naaokth)
Bits Concatenation C++
 
Hi, I need help with concatenating several bits values to one big value. For example: lets say I have these char variables which I want to concatenate to one...
[6 replies] Last: @ rocketboy9000 union RGBA{ //int icolor; //sorry about the Hungar... (by ne555)
[ask] how to make program with C++ builder on comunication usart
 
ask help... i have some problem about how to make program interface with C++ builder...? my final project is implementation car velocity controll . the reque...
[no replies]
by wyden
French Student Programer
 
hello, I'm a french student developer, and am looking for English developers to see their work method, and also to improve my English. I aim to seek employment ...
[no replies]
how do I match a dot character in boost.regex?
 
since a dot in regex means any character, how do I match an actual dot and only that dot? oh and for parenthesis too, since they denote subexpressions in boost...
[4 replies] Last: Yes... unfortunately PCRE has some significant limitations. Hence, the... (by Duthomhas)
how to write this
 
/* inputs an integer N, followed by a sequence of N positive integers and outputs a sequence, where each odd integer from the input is multiplied by 2, and eac...
[7 replies] Last: I also am a teacher. I don't feel slighted when someone turns in innov... (by Duthomhas)
unable to make default constructor for class with reference as member variable
 
I facing some issue in below code ... class Temp { private : string &s ; int index;...
[7 replies] Last: The StackInt class has some private variables: class IntStack { enu... (by guestgulkan)
allegro array collision
 
#include <fstream> #include <ctime> #include <stdlib.h> #include <iostream> #include <allegro.h> BITMAP *bufferSPR; BITMAP *wallSPR; BITMAP *bizzleSPR...
[no replies]
fstream read issues
 
/******************************************************************************\ |----------------------------Bizzle's Labyrinth------------------------------...
[3 replies] Last: i figured it out. it wasnt reading in integers only characters so i ma... (by lance5057)
game tree design problem
 
I have a tree node class, which holds a game board, and which can plot possible next moves, and functions which produce the next n rows of moves for a node. Eac...
[1 reply] : Hmmm... in general for game board, we uses 1 or 2D array to hold the p... (by sohguanh)
add to text file without wiping out what's there
 
Hi all, I'm making a little journal program that simply takes a date and entry and stores it in a text file. Each time I make an entry it copies over the last o...
[2 replies] Last: FILE*output=fopen("output.txt","a"); (by rocketboy9000)
Web C++
 
I know it's not the right tool for the job, but If I can get around having to use C# or java, I'd very much enjoy doing so. I'm writing (currently designing...
[5 replies] Last: well heres the thing, I could write a platform to do it in c++. But th... (by Seraphimsan)
A* Example
 
Does anyone know where I can find an example source of the A* algorithm?
[2 replies] Last: Thanks. (by Dark Byte)
January 2011 Pages: 1... 678910... 24
  Archived months: [dec2010] [feb2011]

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