49,761 Topics
| |
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 … | |
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 … | |
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...... … | |
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? | |
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 … | |
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 | |
Hi frnds, May I have the code of the below program. The program to get the source code as output. | |
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 … | |
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 … | |
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] | |
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:"; … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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; … | |
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 … | |
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 … | |
give me the functions and headers to load image files; and a small example | |
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) … | |
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 … | |
| 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 … |
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 … | |
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 … | |
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..... | |
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(*) … | |
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 … | |
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 … |
The End.