49,761 Topics
| |
I have been trying to get my program to ask the user if the want to run the program again before exiting. I have been using he following while loop. It isn't working, any suggestions. char again; again = 'Y'; while (again == 'Y','y') { // // program // cout … | |
Hello guys, I have some doubts.I think one of you can solve this.I'm c++ fresher.My doubts are: 1.What's a parser in C++?:?: 2.How to create a parser cum interface window in c++.:?: Help me please.Thanks in advance.:icon_neutral: | |
Hi :) I'm using winforms to try to make a GUI on Visual C++ 2005. Now one of the forms deals with a linked list (what's supposed to happen is that when a customer clicks the sign up button, a new customer object is appended to the end of the … | |
Just downloaded VC++ 8.0 Express and tried to run a simple sdk style program to see what happens. I've been using Dev C++, CodeBlocks, and MS VC++ 6. I've been advised to get up to date. Anyway, to get the program to run I had to change all the Api … | |
OK I'm a beginner at C++ so don't mock me for this question, so when I declare a pointer ptr (int *ptr; ) and then define ptr as 5 by saying *ptr=5; what adress is ptr pointing at-a temporary variable? Thank you-just curious. | |
hi everyone ;) i'm am having a problem, can you help me how to save big number into array? i have to input two big numbers (20 digits or less) and sum them. please help | |
Hey i have created binary search prograram this progaram search all locations but not first if i give value of other than zero location it gives results but not for zero location please guid me the code is as follows [code]// Program for Binary search #include<stdio.h> #include<conio.h> int a[50]; void … | |
Hi... I am a noob, just started to do GUI. I have a button on it. May I know besides clicking on the button, is there any other way I can invoke the function inside the button_click event?? Like an auto button ?? For example, I have a function running … | |
Hello, I am new to this community but you seemed to be knowlegable with this error so I thought you could help me. I am more of a hobbiest programmer. I get by with doing as little as possible to accent my graphic design abilities. I am currently working on … | |
Hi, I was making a pogram to demostrate static variables and I don't know why my compiler (VS 2005) is giving me these crazy errors that my book im using said I shouldn't be getting. Here is my program, please help: header: [code=C++] class number{ private: static int num; public: … | |
[B]can someone kindly help to do this problem:[/B] Write a program use C++ language with Recursion algorithm to do this exercise. Prefer compile with Visual C++ or DevC Snowflake.h and image included in attachment file 2. What changes have to made in the program in snowflake.h to draw a line … | |
Sirs,I w'd like to build on a website wherein i've a text box n accept code from user.I then w'd like to run code and display output in page. Something like [url]www.codepad.org[/url]. Plz help me with this.... | |
I have written this parsing algorithm in c++ and compiled in visual studio.On runtime after giving the value it gives an assertion error. The logic is correct bcuz ive dry runned it but i think there's a problem with memory allocation.I need urgent help.Please. // sas.cpp : Defines the entry … | |
Hi i get a home work at uni in C, but i have difficulties with this programming language.I don't know a lot.Below i wrote the request.Can someone help me from where to start,please. Chat Create a chat system throught internet.One process in the server machine manage a bunch of processes(resident … | |
How to find the top n elements without sorting the array? Is this possible??? Well I don't want to sort the array because the order is mandatory? After I have found the top n elements I want to modify them? Is there any certain algorithM?? Help ??? this is no … | |
Hi i am trying to make a notepad like program. The problem is that when i try to display some text nothing happens. If someone could help me i would really appreciate it. The function call: [code=c++] ... SetWindowText(edit, "TEST"); ... [/code] Creation of edit: [code=c++] ... HMENU Menu, SubMenu; … | |
HI me a beginner in C++. i got a paroject to design a menu bar in torbo C 3.0. i faced 2 much problems. i have design the main menu bar but the further sub bars of each counter r not working. plz any 1 can help me plzzzzzzzzz me … | |
i need to write a program which inputs an integer value, checks that it is possitive, and outputs its factorial,using formulas factorial(0)=1 factorial(n)=n*factorial(n-1) sample output: input possitive number: 6 factoral of 6is: 720 | |
i started this code for the binary seach tree but i'm going crazy i cant draw the tree 9 7 12 5 8 15 i need any help that could be provided even if like the level order way 9 7 12 5 8 15 | |
In Borland C++ Builder 6, I used forms. I created a button and clicked on it. It went to the editor. I typed "form1. " waiting for autocomplete to work. But I got "error in source code". The source code was generated by the BDE. Why doesnt it work. I … | |
There was no forum for just general programming, so I decided to put this here. Just out of curiosity, does anyone know how you get from your programs running in terminal or command prompt to having them opening in their own window, with their own GUI? If anyone could shed … | |
Hy, I am trying to encode an X509 certificate into base64, and since the encoder I'm using takes only char*, and typecasting doesn't work, i find a different way to do this. I'm sure there is a simpler way, but i just can't find it. Here is the code: [CODE]BUF_MEM … | |
Okay I am writing a database type of program, which will store data about people. I want to create a class: class Person { public: int age; int weight; int height; }; Okay now I want to do something like this: cout << " Enter name of person.\n"; cin >> … | |
can you guys provide me with an example as to when do i need to use virtual inheritance? | |
can anyone help me? I've made an address book. But I don't understand how to sort the information in alphabetic order. And also the information which is written in information.txt is not neat. Does anyone know how to fix it ? here is my code.. [code=C]#include <stdio.h> #include <stdlib.h> #include … | |
| |
Hi there, I hope this is not a major repeat question. I have a big class and inside it has smaller classes. What I am trying to do is call a function of the outer class from the inner nested class, such as: [CODE]class BigClass : public evenBiggerClass { int … | |
Can i call a class on another class. ex. class a { public: void add (int,int) ... //maybe call class b here.../// }; class b{ public : void mult(int,int)... }; | |
| |
Hello everybody. I'm new in C++ Builder and I have problem with my application. I have some files on input and first I add files in ListBox1. I try to sort them by 3 conditions (firts is date, second is some secc. number and thirt is const. number) for example … |
The End.