49,761 Topics

Member Avatar for
Member Avatar for geek

Hello all, I've been programming in c++ for about 2 years now, but all my c++ applications are console driven. I would like to start using GUI's but in c++ it takes a lot of effort to build a GUI application (using API's), now my question; what programming language do …

Member Avatar for Eddy Dean
0
130
Member Avatar for ishwar

Hi guys, and girls, I 'm trying to create a program in c++ using winsock to see what happens when internet explorer sends a http request to [URL="http://localhost:80"]http://localhost:80[/URL] any tips? Thanx Ishwar

Member Avatar for Dave Sinkula
0
132
Member Avatar for trevs234

im new to C++.... sorta. i tried to use it a while ago but i couldn't figure out how to do anything and so now im going to try it again. if anyone could be of assistance that would be awsome. oh yeah, and im pretty much broke so i …

Member Avatar for justobioma
0
202
Member Avatar for caspiku

HI I have been using c++ 4.5 for over an year but now it shows 16 bit error. i tried to delete it and so the tcwin45 folder but now whenever i start my computer it shows an error that "it could not search for C:\TCWIN45\PIPELINE\remind.exe search again". Pls. help …

Member Avatar for Ancient Dragon
0
47
Member Avatar for jamshid

I know PASCAL programming language; Know i can't decide to learn which programming language.... I don't know if i start C or C++ or C#... or others.. [B]I hope you will guide me in this way[/B], so thanks for replying and guiding me.

Member Avatar for jamshid
0
177
Member Avatar for Laiq Ahmed

I've just tried to code the Binder2nd, almost same as standard code provided in functional...... please point out the mistakes........ and suggest me guidelines to write effective code.......... [code] [COLOR=#0000ff]#include[/COLOR][COLOR=#000000] <iostream>[/COLOR] [COLOR=#0000ff]#include[/COLOR][COLOR=#000000] <vector>[/COLOR] [COLOR=#0000ff]#include[/COLOR][COLOR=#000000] <functional>[/COLOR] [COLOR=#0000ff]#include[/COLOR][COLOR=#000000] <algorithm>[/COLOR] [COLOR=#0000ff] using[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] std;[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#0000ff] template[/COLOR][COLOR=#000000] <[/COLOR][COLOR=#0000ff]class[/COLOR][COLOR=#000000] _Fn> [/COLOR] [COLOR=#0000ff]class[/COLOR][COLOR=#000000] Binder2: [/COLOR][COLOR=#0000ff]public[/COLOR][COLOR=#000000] …

Member Avatar for GloriousEremite
0
141
Member Avatar for Joncamp

I can't buy a c++ reference, and need one for programming in Linux. Does anyone know of a good reference free on the Web? Thanx, Jon:cheesy:

Member Avatar for ~s.o.s~
0
140
Member Avatar for joshilay

given a positive integer n ,we have to find the number of possible combination of integers (i,j) where i+j=k ... given 0<=i,j,k<=n i code this problem as below ... [code]#include<iostream.h> #include<conio.h> void max(int n,int x,int k,int *no) { if(x>=0) { max(n,x-1,k,no); if(n+x==k) { (*no)+=1; cout<<"\n"<<" The combinations are formed by …

Member Avatar for joshilay
0
98
Member Avatar for schmidty169

I'm getting error C2109: subscript requires array or pointer type [code]// CPP btree.cpp : Defines the entry point for the console application. // #include "stdafx.h" class TreeNode { public: TreeNode(string str): data(str), left(NULL), right(NULL) {} // Constructor. Make a node containing str. string data; // The data in this node. …

Member Avatar for schmidty169
0
169
Member Avatar for tefflox

plz look at this code and tell me where I'm going wrong. I can't use another array to reverse the string. [code] const int MAX_SIZE = 15; // Max word size of word, allow for '\0' void reverse(char word[]); // function prototype int main() { char word[MAX_SIZE]; cout << endl …

Member Avatar for tefflox
0
85
Member Avatar for rdubey_jsr

Hi friends, Its my first experience to this forum. can any one help me in reading a csv file into an array and then parse each word seperated by commas. I have csv file which contains rows and columns of record. and i have to read the file into an …

Member Avatar for rdubey_jsr
0
4K
Member Avatar for DotNetUser

I'm coding in VC++.NET 2003. Is there a way to create a button_click event without using the this pointer? I have a static function that creates new buttons. I want to add the click event to the new buttons. Thanks.

0
66
Member Avatar for gampalu

Hi I'm creating an application and in DEBUG mode I have zero errors, but when I switch to RELEASE I have this error: [CODE] --------------------Configuration: ipfix - Win32 Release-------------------- Compiling... Command line error D2016 : '/ZI' and '/O2' command-line options are incompatible Error executing cl.exe. [/CODE] Can you help me …

Member Avatar for hollystyles
0
197
Member Avatar for rxgmoral

Ask a problem,about inheritance :) [CODE] ****************static DLL***************** <<<<<<<<<CmView.H>>>>>>>>>>> #pragma once class AFX_NOVTABLE CmView : public CView { public: __declspec(dllexport) CmView(); }; <<<<<<<<<CmView.CPP>>>>>>>> #include "stdafx.h" #include "CmView.h" CmView::CmView() { } ******************static EXE****************** <<<<<<<<EXEView.h>>>>>>>>> #pragma once #include "CmView.h" #pragma comment(lib,"dll.lib") class EXEView : public CmView { ........... }; <<<<<<<<<EXEView.Cpp>>>>>>>>> #include "stdafx.h" …

Member Avatar for GloriousEremite
0
144
Member Avatar for lballans

Hi All, I'm new to C++ and I have a C++ mortgage assignment due where a user inputs there mortgage amount, interest rate, and term of the loan and the program should give the user there monthly payment and also ask the user if they want to quit or enter …

Member Avatar for lballans
0
94
Member Avatar for Coding Mage

Hi all, I have an interesting problem for which I already have a solution, but I have a feeling my solution is less than elegant. I need to create a Factory class which returns an instance of some child of class Foo. Which child is instantiated depends on the value …

Member Avatar for Dave Sinkula
0
603
Member Avatar for muthuivs

Ladies and Gents, I am trying to write a function in my ever growing program to give me information on a selected folder. I actually only need the number of files in the folder so I can use that number in a loop. Is there a way to get the …

Member Avatar for GloriousEremite
0
390
Member Avatar for joshilay

can anyone tell me the code for inorder traversal of binary tree non recursively and using a constant memory ...??

Member Avatar for Laiq Ahmed
0
166
Member Avatar for iamthwee

This is really ticking me off. Ok I have a program like so:- [CODE] #include <iostream> #include <string> using namespace std; int main() { string crap = "dfgfd-rergreg-dfgfdg-ertertd-gfdg-df"; }[/CODE] And all I wanna do is replace the [INLINECODE]"-"[/INLINECODE] with [INLINECODE]" - "[/INLINECODE]. Note the spaces. I've tried everything but it …

Member Avatar for iamthwee
0
200
Member Avatar for Marthy

[I] What is the Importance and uses of data stuctures in Programming using C/C++ when using it? .How Stack,Queue,and list works and give example problem that solve stacks (note:this is not a code program).t.y..i want your different opinions...pls...reply this tread.. [/I]

Member Avatar for Laiq Ahmed
0
87
Member Avatar for tefflox

Hello, this is my first post here. I'm taking c++ as an elective course, and I'm doing great until now. The problem I'm having is taking data from a txt file formatted line by line [inlinecode]#### # ##[/inlinecode] for product id, store number, and quantity. I'm supposed to read this …

Member Avatar for tefflox
0
224
Member Avatar for comwizz

hi , I just was trying to implement a stack using doubly linked list . Well , i cannot exactly find out the error. Any hint would be of great help. Heres the code [code] #include<iostream.h> #include<conio.h> class abc { public: int num; abc* next; abc* previous; friend void push(abc*,int); …

Member Avatar for Lerner
0
3K
Member Avatar for vikter
Member Avatar for blewis999

I saw the code snippet by vicki_dev for drawing a function using turbo C on windows and wondered if there was anything like this or even this code with the calls to the OS inline. I don't have an OS on the embedded systems I work on and need a …

Member Avatar for Salem
0
100
Member Avatar for ethompson

Hello, I'm having some problems with trying to get my random numbers to go in ascending order and descending order as well and trying to figure out how to get when I put in a number between 2 - 25 how to get the highest number out of the random …

Member Avatar for ~s.o.s~
0
2K
Member Avatar for DotNetUser

I'm coding in VC++.NET 2003. I have panels that will be populated with buttons dynamically. In my static callback function, I get an exception when I try to add the button to the panel. //Exception: Controls created on 1 thread cannnot be parented to a control on a different thread …

0
64
Member Avatar for bkaau

For all programmers please help me I have only for day to submit my final project so please pleas help me. Before i goto my problem. i can introduce my selif. i am biruk i live in Ethiopia (Addis Ababa). i am 20 years old . i study Statistics in …

Member Avatar for WolfPack
0
229
Member Avatar for gampalu

Hi! How in C++ can we make a pause in the code, waiting for an ENTER? regards

Member Avatar for Dave Sinkula
0
115
Member Avatar for madhan

[COLOR=black]Thank you so much for looking at my question and helping me to get start. I am new to programming. I am currently executing c/c++ programs in VC++ compiler all by my own. I have created very basic programs like displaying the content, find the entered number is odd or …

Member Avatar for iamthwee
0
119
Member Avatar for ostkaka

I´m trying to put in a variable called "sex" in this program but it does´nt work, i wonder if anyone can help me with that? [code] #include <iostream> using namespace std; int main() //viktigaste delen av programmet { int age; //En variabel som heter age; int sex; cout<<"please input your …

Member Avatar for Dave Sinkula
0
103

The End.