General C++ Programming - February 2009 (Page 6)

pipe 'cout' through winsock?
 
i was wondering if this was even possible... i have an application thats running and i want all of the text that appears in that program to be viewable in a ...
[3 replies] Last: You don't have control over that output. Not to mention that system() ... (by helios)
base 16 macro definitions
 
Sometimes I see header files in which macro definitions use base 16 numbers even when it doesn't seem to matter. Is there a particular reason for this? (maybe e...
[2 replies] Last: That's what I thought...thanks. (by Tom Backton)
program to report number of words in a file
 
Hello all. I am new to C++ programming and am having some problems with getting my program to work. The program should report how many words are in a file by ...
[1 reply] : //try this code #include <iostream> #include <fstream> #includ... (by writetonsharma)
alphabetical order problem
 
i have a problem with this program it is something wrong with the alhabetic order instead of a b c d e ...it will read.. b a c d e something is wrong with my p...
[4 replies] Last: Why don't you add some debug prints to show how the inserts are occurr... (by jsmith)
can someone double check this for me please? (c)
 
so this is what i have to do: In order to find roots for f(x) = x*x*x - x*x- 9.0*x + 8.9 in the interval -1.0 <= x <= 5.0, create a table for x and f(x) fr...
[1 reply] : Why use this long method? There is a formula for this. http://en.wik... (by Tom Backton)
by olove5
stack errors
 
what can I do, please somebody help stack.h:36: error: âint Stack<int>::topâ is private Pro1.h:59: error: within this context Pro1.h:60: error: stateme...
[10 replies] Last: How to: Put code into your postings http://www.cplusplus.com/forum/a... (by closed account z05DSL3A)
files in windows forms c++
 
i am making a windows forms project in c++ and i want it to be able to open a .txt file when you click a button. I am using a open dialog box too. I beleive the...
[1 reply] : Classes Used for Reading from and Writing to Streams. BinaryRe... (by closed account z05DSL3A)
Square free number program
 
This program will output integers from m to n (user inputs) that are not divisible by a perfect square except 1. I just want to ask if there is a further sim...
[3 replies] Last: Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland square-f... (by closed account jNU5fSEw)
How to get a website's source ?
 
Hi, I'm a beginner in C++ and I need some help how to get a website's source code and save it into a string. Also I want to know how can I then search the sour...
[2 replies] Last: You'd be able to find all this stuff or ask it on autoit forums. I've ... (by Mythios)
by masiht
program having some problem
 
I have made a program this program asks twice to press any key to continue please tell me how to fix it and kindly tell me if there is any other mistake in it...
[6 replies] Last: ok thank you ! (by masiht)
temp pointer to a vector or pointers
 
std::vector<Node*> *emptyVec= new vector<Node*> ; std::vector<Node*> *foundPointers= searchByTag(findVal,MainRoot,emptyVec); this is part of one of my modu...
[2 replies] Last: thank you for your suggestion I tried passing in by reference and it... (by aishg2005)
Problem with stack
 
I am writing a program that will convert an expression from infix notation to postfix notation for a class project. My program compiles fine but when it tries t...
[9 replies] Last: Ok, I'll try that. EDIT: It didn't work, it's in debug mode and he... (by Matt23488)
Problem deleting template class
 
Hi everybody. I have a problem deleting a template class and I would be very grateful if anyone can help! Here is my code: #include <vector> template...
[1 reply] : You are not instantiating the class correctly. DataType<int>* da... (by jsmith)
by yatoof
Instructions complexity?
 
Hi, All is there any guide(link,book). which tells about complexity of instructions we use in microcontroller's programming in c language e.g switch() is better...
[1 reply] : There isn't. It is not necessarily straightforward to answer what c... (by jsmith)
by olove5
HOW TO AFECT A PRIVATE VARIABLE
 
error: âint Stack<int>::topâ is private
[4 replies] Last: The principel of a private variable that it is private so it can be af... (by Scipio)
While loop being skipped
 
http://www.cplusplus.com/forum/beginner/7837/
[no replies]
i tried to make this program a function . what am i doing wrong
 
#include <iostream> #include <fstream> #include <string> #include <algorithm> using namespace std; ifstream infile; struct nodeType { string data;...
[1 reply] : What wrong? (by kbw)
[solved]winsock 2 linking? VS 2005
 
i'm having troubles linking the WS2 library (WS2_32.Lib) to my program if someone could give me a heads up, it'd be much appreciated. // client.cpp : Def...
[6 replies] Last: i figured it out... [quote = http://www.vbforums.com/archive/index.... (by athlete501)
by in32
[Solved]combining variables into system
 
Thanks to Grey Wolf for helping resolve the issue. Hello guys I was wondering could someone assist me in the problem I am currently having? I am making an a...
[6 replies] Last: Awesome it worked that you so much! (by in32)
Creating a 2D array inside a struct
 
Been trying different ways and researching this but anything I make keeps failing with this idea. What I want to do is along the lines of: struct myStruc...
[4 replies] Last: Thanks for the help you've given but sadly it doesn't cover the proble... (by Mythios)
February 2009 Pages: 1... 45678... 14
  Archived months: [jan2009] [mar2009]

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