51,593 Topics
![]() | |
I need help with the system level requirement for Currency Conversion | |
"hello world". i have a question about gui programming in c++ or java. i would like to have a basic tutorial about gui's. could anyone help me about this. thanks! i am a k4Q3A | |
Gang, I am so confused by all the descriptions of different Visual C++ stuff, API, MFC, I don't even know how to tell you what I am trying to use - other than: I created a Windows Form Application using Visual C++ 2005 Express Edition. I have a textBox1 which … | |
This is the code ive got so far [code=cplusplus] #include <iostream> int main() { int a[10] = {0}; //sets an array of ten zeros int x; //intialises x int y; //intialises y std::cin>> x; //reads in x input std::cin>> y; //reads in y input if ( -1 < x && … | |
here is my current code: [CODE]#include <iostream> using namespace std; int bubbleSort(int [], int); int selectionSort(int [], int); void showArray(int [], int); const int SIZE = 20; int main() { //The array with unsorted numbers int numbers[SIZE] = {23, 44, 2, 6, 15, 70, 45, 80, 46, 30, 0, 11, … | |
Before I write this, I realize there are way better ways to accomplish what I am asking, but I am JUST wondering if it is possible to do it the way I am asking. I have a main function called system. The system has a menu and depending on input, … | |
I overheard a conversation in a class the other day about someone being able to "look" into various classes and data storage types and see what is being stored as you run the program. I understand this can be done using the traditional ways of adding breakpoints and such, but … | |
Could anyone help me with an issue that I have? I have a program that reads from a data file using an array and the data is structured as a long interger. I am trying to break up a long interger in to pairs i.e 141251 into 14:12:15 using c++. | |
Hey, I am somewhat new to C++. I'm not sure if this is something that is even possible with this programming language, but I am very curious. Okay, so the gist of what I want to do, is be able have an input through the microphone jack on the sound … | |
i just received some help from zandiago it his help was great and i thank you. when i incorporated the info into my program i received an error when building the solution. it was only one error. it was error C2447: '{' : missing function header (old-style formal list?) the … | |
Can someone please help me with this? I have been struggling with this for days now, and for some reason, my instructor's help is not working for me. I am not sure if it is because he is from Germany and I am taking courses on-line, or if it is … | |
20 student apply an exam, the mark of the exam is out 10, write a C++ program to do the following: 1- read students grades and store in student _ grade array. 2- find the frequency (number of occurrences of each grade. 3- find the mode (number that occurs most … | |
How to choose one element from each array., Which A(i)+B(i)+C(i)+D(i)+E(i)+F(i) must equal to 10. __________________________________________________ i A B C D E F __________________________________________________ 1 3 2 3 3 2 4 __________________________________________________ 2 6 9 4 24 5 7 __________________________________________________ 3 11 28 5 81 10 12 __________________________________________________ 4 18 65 … | |
i'm trying to read from a text file and store it into a STL List. i able to read from the file but when i wanted to print out my list i get an error - [B]primary-expression before '>' token [/B]which is pointed to the text in red. am i … | |
Hi all, i'd like to ask anyone here who may help me solve this problem i compiled an apps which records when is the last time user make an input, either with keyboard or moving mouse, thru' GetLastInputInfo API however, this can't works whenever user logged on as different using … | |
Hi Guyz, I had to create a program w/c objective is to omit a certain tag in xml file. the only thing in my mind is to search and get the length of the tag. my problem is what if that tag had a certain sub fields: [QUOTE] <team> <cell1 … | |
Hi This is how my input file looks like and i while loop is sorta messed up, i'm a newbie, can someone give me a lil help? Input file: Iron Man 90 80 70 -1 Captain American 90 80 70 60 -1 Spider Man -90 Phil O'Sophy 72 81 63 … | |
Okay, i am very new to Visual C++ and i understand the design and stuff but what i don't get is where do you put the actual c++ code to tell each thing what to do? And by the way does anybody know a good visual c++ tutorial?? | |
I am now writing a new program, a modification of a program I have done before but now with arrays. It is a currency conversion program that converts four currencies. User inputs the starting currency and the program will display all four of the currency conversions for the amount the … | |
i received some help but when i implimented it into the program it came up with an error. if anyone could help me fix this problem i will greatly appreciate it. here is the program. it is a guessing game. the error message says: error C2064: term does not evaluate … | |
Create array for which each object can hold integers in the range 0-100. You input a few numbers say 1 3 5 they are displayed as 0 1 0 1 0 1 0 0 0 0 up to 100.I can do a simple loop of zeros up to 100 but … | |
![]() | A friend of mine wanted to see if I could figure this out.. and it's driving me crazy!! Maybe I'm just over thinking it? Anyways, can anyone figure this out? Design an algorithm to sort a deck of cards with the restriction that the cards must be kept stacked in … |
Hi all I started learning C# but I became annoyed at the need for the .NET enviroment on every machine the program was run on, so I switched to C++ and started learning that. I am hearing talk about C++ dying out and C# is better and is where all … | |
hi every body... i have problem in my project,and i need help to solve it the problem is :: i have string variable and i want to store two values in it one value is string that insert it by the user and another value is integer that is generated … | |
I have int x I would like to fill it with a randomly generated number between lets say 6 and 10 I know that x = 1 + rand() % maxRange; will limit the maximum range but i would also like to limit the minimum range. How do i put … | |
Hello, I am new to C++. I have read the warnings about homework and do TRY.... I am an older student and have been trying to get this project going to no avail.... My first part of this code is attempting to create a grid of 16 playing cards laid … | |
i need to write a C++ program to determine the real root of Ln X^2= 0.7 (A) using three iteration of the bisection method with initial guess of Xl=0.5 and Xu=2 (B)using three iteration of the false-position method with intial guess of Xl=0.5 and Xu=2. ANY KIND OF HELP WILL … | |
I'm trying to create a piece of C++ code which will only allow a user to enter odd numbers. If an even number is entered, the program must tell the user to enter only an odd number. Im comfortable with the whole output bit in the 2nd line above, but … | |
Hi Experts, Did anyone use eclipse and cdt in solaris, I am getting eclipse version 2.1* for solaris however cdt is compatible with 3.* versions, can anyone let me know where can I get latest version for eclipse for solaris ? I am unable to find later versions in eclipse.org … | |
Hello, there. I just would like to ask any other possible ways to read wchar_t data in a file? I tried to use ifstream but it seems that the '>>' operator cannot be used to unsigned short variables with the likes of wchar_t. Thanks. :) | |
hello im a new here and also i am a new student of C++ i have to make these programes in next 1 hrs can u help me in making these 3 programes 1: take input from user,check whether the given no. is even or not. 2:take input from user, … | |
I coded a program its for temperature conversion its still not developed yet and I'm having a problem. Here's the code: [CODE]/* Software Name = Temperature Converter Calculator... Made by Manzoor Ahmed.*/ // Program that helps converting Temperature degrees. // Formulas obtained from wikipedia.org. #include <cstdlib> #include <cctype> #include <iostream> … | |
Hello, could anyone please help me with this. I have a hardware connected to my PC via serial port. This hardware is sending me data (in HEX format). Now i would like this data save to a .txt file. Please help me. Here is my code so far...if anybody is … | |
So I am learning arrays, and i was given a piece of code in my book here which basically finds the average, min, and max value of a set of numbers, but the thing i don't understand is, when you are finding out the min and the max why you … | |
hi; this for circular link list type , its to check whether a word is palindrom or not . it dosen't work ! can you check it this the insert function : [CODE]void InsertLast(const elemtype &Item) { Node <elemtype>*temp; temp=new Node<elemtype>; if ( temp==NULL) { cout<<"Full memory"<<endl; return; } temp … | |
:!: I keep getting a pop up that says: Microsoft Visual C++ Runtime Library Buffer overrun detected Program C:/Program Files/Yahoo/browser/ybrowser .exe A buffer overun has been detected which has corrupted the programs internal state. Program cannot safely cont. execution and must terminate. Then the browser shuts down. I spoke to … | |
Hello, I am new to this board and C++, so I do not even know what encase code in [] means, but I will try. I have an assignment I have been working on for a week. I have consulted my book and the web, but I have been unable … | |
i am making a menu driven program on linked lists. the program's display function is printing garbage values. i.e if n=3...i add three values and when the values are displayed the last entry is displayed and the rest two enteries are garbage values for eg. [QUOTE]MENU (Linked List) 1. CREATE … | |
I don't know how to insert a paint picture to my c++ program .Can anyone help me. | |
I have this code. but I get this error: chariot1.cpp c:\orbitertest\orbitersdk\samples\shuttlepb\chariot1.cpp(235) : warning C4700: local variable 'speedvec' used without having been initialized I was told that the oapiGetFocusShipAirspeedVector(speedvec) initialized the speedvec. Not sure how to fix this. What I am doing . Is to determine which direction a vessel is … | |
when i try to build the solution for this program i get 4 warnings. they are: c:\documents and settings\mike\my documents\visual studio 2005\projects\practice\practice\practice.cpp(22) : warning C4244: '=' : conversion from 'time_t' to 'int', possible loss of data c:\documents and settings\mike\my documents\visual studio 2005\projects\practice\practice\practice.cpp(13) : warning C4101: 'ncount' : unreferenced local variable … | |
I just recently came across Shift Operators and it interests me. Though I'm beginning to learn more about it, I'm still a bit confused as where to implement them. However, the problem I'm facing is because of an example I found on [URL="http://msdn2.microsoft.com/en-us/library/336xbhcz(VS.71).aspx"]MSDN[/URL] [CODE]// expre_Shift_Operators.cpp // compile with: /EHsc // … | |
I have a template Graph class which uses an adjacency matrix (array of singly linked lists). I need to be able to initialize the Graph with a size. I guess it is done this way? [code] template <class T, int SIZE> class Graph { } [/code] My problem is with … | |
#include<stdio.h> #inculde<math.h> int main () { int R,n,A; float S; printf("plz give me the value of N elements:"); scanf("%d",&n); printf("plz give me the value of the first term A:"); scanf("%d",&A); printf("plz give me the ratio between 2 consecutive elements R:"); scanf("%d",&R); S=(pow(R,n)-1)*A/(R-1); printf("the value of the sum of a geometric … | |
i have the program written but i am having troble with a few parts. i am supposed to have the number of tries on the screen (which i do) but i need the program to ask the player if they want to play again after the game is done and … | |
i'm using stl list to do a simple inserting of a range of value into the list. The problem i have is that when i do a push_front i couldnt see the value when i did a displayed of my list, but when i did a count it show that … | |
hi there... I'm new in this forum so I don't know how to start new threads, anyway.... I was wondering if anyone could help me with a login page, I mean by sending me a good tutorial, because I'm stuck in a homework, a web application that needs a login … | |
I'm frustrated at the moment and thought I'd vent a bit before asking for help. I've finally decided to download MS Visual C++ Express 2005 and migrate from VC++ 6.0. I know, it's about time! What can I say, except that I hardly ever download stuff from the net because … | |
How do I begin the creation of a web project in C# using the file system in VS 2005 | |
i have a program but how do i go about putting it in the code for the thread. i received a warning the last time and i appologize for that. what are the steps. i nread the faq but i still didn't understand it. what should i be pressing inorder … |
The End.