49,761 Topics

Member Avatar for
Member Avatar for kustrle

OK, I made two Windows Forms Applications (Look images below) Step 1: [url]http://img245.imageshack.us/img245/8227/78636770.jpg[/url] Step 2: [url]http://img408.imageshack.us/img408/808/48168956.jpg[/url] Well, as you see at "step 1" there is some text (blured) and the Next button in bottom left corner. I would like to know how to make that when I click Next button …

Member Avatar for evilguyme
0
134
Member Avatar for radskate360

Hey newer programmer here need a bit of help. The direction are bascially to read in from a file some words in the form of a paragraph with no punctuations and no commas etc. The file will look similar to When promulgating your esoteric cogitations and articulating your Let your …

Member Avatar for phanirampally
0
162
Member Avatar for mayanktalwar

hey i am trying a code...ad in that i am using arayrs to store a sequence of data..i have writen this in he code x[100000] and it say too large arrays as a error......now how o deal with this..and how to store such a large sequence of data..without file handling...... …

Member Avatar for mrnutty
0
113
Member Avatar for neithan

I want a vector<string> with some values by default. I wanted to do something like char **strings = {"bla", "blo"} How to do it with vector<> without using repeated push_backs?

Member Avatar for Dave Sinkula
0
605
Member Avatar for findlay

Hi all, Can anyone point me to an efficient binning algorithm. I have a problem similar to the following: I have recorded the heights of 10000 randomly selected people and I want to sort their heights into 20 bins between 1.5 and 1.8m (ie number of bins much less than …

Member Avatar for mrnutty
0
73
Member Avatar for cfuilip

our lecturer want us to find a topic which we need to present next week... the program must include file handling... any idea for the topic ... and kindly show the example

Member Avatar for Shillz
0
80
Member Avatar for uttara

Hi frnds, May I have the code of the below program. The program to get the source code as output.

Member Avatar for csurfer
0
73
Member Avatar for StaticX

Hi, I am trying to write a simple program that stores a user input in a c-string,and will then print out each character (I)diaganolly across screen and (II) each character on a new line. The problem im having with this,and with c strings entirely,is that it keeps printing out random …

Member Avatar for StaticX
0
109
Member Avatar for B.S

pleas halp. Sory for my English, i coudn't find where the problem is, program jast dasn't do it. I wrot program for desktop hot keys. Whan user pres a key the curent program will start. For this i used ListView in first colomun is writen program placement in second key …

0
49
Member Avatar for tux4life

A small function which reverses a c-string by just swapping the elements :) ... Usage:: [CODE=C++] char[] str = "hello"; reverse(str); // str now contains "olleh" [/CODE]

Member Avatar for Nick Evan
0
1K
Member Avatar for Madzts

Hi. . can any one help me in converting infix to postfix. . i do not know what is wrong in my code. . help!!!plz [code] #include<iostream> #include<string> #include<conio.h> #include<stdio.h> using namespace std; void main() { char stack[10]; char input[10]; char output[10]; char plusminus,multdiv; int a; cout<<"\tInput an infix expression:"; …

Member Avatar for Afaq Haider
0
407
Member Avatar for psolanki

Hi Need help with multiple forms. I have application with 3 forms and the concept is on startup open Form1 on clicking button on Form1 opens Form2 and then Form2 open Form3. Now after processing on Form3 I need to make the property of Form1 visible, so we start the …

0
46
Member Avatar for neithan

I'm new to C++, i'm learning with the help of Stroustrup Principles of C++ book, with this forum etc I'm doing console apps that treats and operates with numbers and so on, as i see you do the same, at least that's what i see people asks in the forum. …

Member Avatar for neithan
0
197
Member Avatar for kekz0r

Having some problems creating an encoder for class. I have the decoder, but I can't seem to make my encoder work properly. I have attached the decoder to the post as a file. Encryption example: "Hello" would be "xxxxx!H#xxxxxxx#e¤xxx¤l&xxxxxxxxx&l$xxxxxxxxxxx$o", where x is randomly generated letters, and ! is the first …

Member Avatar for kekz0r
0
201
Member Avatar for noi80

Hello. I am currently working on a school project. I need to implement 4x4 matrix multiplication with multi-threads (pthread) doing each multiplication. By studying the assignment description and other codes found online, I was able to get a general idea of what I need to do. However, I am having …

Member Avatar for noi80
0
926
Member Avatar for rufusD

Hi there! In my lab I'm running a measuring program. It loops over taking data and writing it to disk. While the measuring is quite fast (1 kHz), the saving takes too long, especially since the file gets opened and closed every time before and after writing. So I thought …

0
50
Member Avatar for lyshao

I keep getting the error above. I am trying to calculate percentage, sales tax on items to make profit on items sold. #include <iostream> #include <string> using namespace std; int main() { //Declare variables double price; double percentage; double taxRate; double salesTax; double sellingPrice; double finalPrice; char ch; string str; …

Member Avatar for jonsca
0
313
Member Avatar for nicholasamh

Hi, I am using visual studio 2008, C++ MFC for window xp. I have a program that will create some files in my directory (like in C:/) which i created earlier and it will read/write data into the files. As the date is quite big, it take quite a while …

Member Avatar for rdrast
0
88
Member Avatar for invinci

Hi all i am facing problem with combobox events, here is what i need: Combobox1 Choice: Metal, Plastic Combobox2 Choice: if Metal in Combobox1: 2,3,4,5,6 Choice: if Plastic in Combobox1: 8,10,15 I am unable to write code for the event, can any one help me out with the hints or …

0
85
Member Avatar for amirun
Member Avatar for rdrast
0
104
Member Avatar for lawsmlt

Hi all, I'm currently doing my final year dissertation, being on wireless transmission in a client-server model. Can anyone suggest any dense literature about technical detailed c++ programming such as enabling communication between server and additional programs (such as ffmpeg), excessing USB devices (such as webcam, mic, video capture card) …

Member Avatar for chyssa
0
94
Member Avatar for hustler#27
Member Avatar for akshay25088

Hey guys Me and my friends are doing project on " text summarization". I want ur help in developing following modules. If anyone knows abt it plz help me as soon as possible. Here r the modules. 1. text pre-processor ( convert .doc to .txt) 2. Sentence separator 3. Word …

Member Avatar for akshay25088
-1
112
Member Avatar for ragnarok511

I am trying to learn how to design a gui for a linux kernal. Is there any tutorials on how a gui works on an operating system? I am not completely sure where to start. The only other thing is that I can think of doing is getting the source …

Member Avatar for jonsca
0
141
Member Avatar for robgeek

I am trying to do some arithmetic operation on a stack but I am little confused on how would I implement it. For instance I have a statement: add(multiply(2,3),4) which is equal to 2x3 = 6 + 4 = 10. If I place this on the stack, it would look …

0
70
Member Avatar for osgiedeprof

guys can anyone out there tell me if it's actually possible to innitialise a 2D array by having it loaded from the keyboard (i.e entered by the user)? i have search everywhere to see if there's a code of such; all i can see is loading it (2D array) from …

Member Avatar for sfuo
0
92
Member Avatar for debasishgang7

hiii all.... i want to learn C++ GUI based programming.... i want to know how to make Text field,buttons,label,etc... in c++ is there any web resources????? pls help me out.....

Member Avatar for rtc1
0
115
Member Avatar for restrictment

Hey Everyone, in class we are learning about for loops, which are very easy. However the project the teacher gave us is very difficult. Here is the assignment: [quote]Write a program that prints the following patterns seperately one below the other. Use for loops to generate the patterns. All asterisks(*) …

Member Avatar for restrictment
0
168
Member Avatar for Cy137

I can never get this to work correctly for me, and I'm looking to you guys for help now. This program is going to eventually calculate the betweenness centrality for nodes on a graph, but I'm trying to get the file I/O to work properly. Any ideas? Code in tags …

Member Avatar for vmanes
0
132
Member Avatar for jamdownian

I've written a C++ program that compiles successfully but is give me some logic error. It's giving me some negative numbers can someone please run the code and see what ive done wrong. Built with Visual Studio 2008 [CODE] #include"stdafx.h" #include<string> #include<iostream> using namespace std; class vowels { public: vowels();void …

Member Avatar for jamdownian
0
132

The End.