49,761 Topics

Member Avatar for
Member Avatar for ocean001

hi all, currently i am trying to make my mobile dialog/interface to retrive data from my database(ODBC), but i am not too sure about that, can anyone kindly advice me on that. thanks

Member Avatar for ocean001
0
107
Member Avatar for gator6688

Ok I figured everthing out except: 1) when it asks for my input it asks like this Enter first name: Enter last name: Enter amount:-it puts it all on the same line. Also when I run it it puts Sept. on the in the right spot but it puts 30, …

Member Avatar for Salem
0
125
Member Avatar for cardanadam

[CODE] #include <iostream> using std::cout; using std::cin; int Forla_ciz(int); int While_ile_ciz(int); int DoWhile_ile_ciz(int); void main() { int genislik,no; while ( (genislik<1) || (genislik>22) ) { cout<<"0 ile 22 arasında bir genişlik girin:"; cin>>genislik; } while ((no<1)||(no>3)) { cout<<"hangi fonksiyonu kullanarak cizmek istiyorsunuz?\n" <<"(1)for ile (2) while ile (3) do/while ile"; …

Member Avatar for jwenting
0
49
Member Avatar for cardanadam

[CODE]program produces a diamond enclosed by a square of the given size. For example, Enter an odd integer 9 ********* * * * * * * * * ** ** * * ** ** * * * * * * * * ********* [/CODE]

Member Avatar for jwenting
-1
70
Member Avatar for gator6688

I need to be able to pass the data I enter into my check. I do not think I have my check set up right though. I will post my code. [CODE]#include "stdafx.h" #include <iostream> #include <string> using namespace std; string todaysDate; string firstName; string lastName; double amount; void enterData(); …

Member Avatar for gator6688
0
116
Member Avatar for nhenson

I have been working on this problem since last week and I about to go insane. I got it working and then all of the sudden it got screwed up. I want to know if someone can help me find out what I am doing wrong to fix it again. …

Member Avatar for Ancient Dragon
0
92
Member Avatar for pacman326@gmail

Hi guys, I am suppose to write a program that accepts an account number, d or c standing for debit or credit, and a floating number representing the amount of the transaction, and then does 5 things. 1)Display the sum-total amount of all transactions for a particular account. 2)Display the …

Member Avatar for Ancient Dragon
0
99
Member Avatar for ThePhenom

I am hoping someone can help guide me in the right direction. I have a project for class that I am working on and I could use some help. The project guidelines are below as well as my code thus far. I have gotten this far with it but am …

Member Avatar for ThePhenom
0
133
Member Avatar for donuttier

Hello! Please help me!!! I have been trying to make a program that show details written on a csv file. Somehow I have managed to do so, by using a code for opening *txt files. However, I would also need to add details to the same csv file, and delete …

Member Avatar for donuttier
0
2K
Member Avatar for daniweb2013

Hi guys, i have one question, when i type using namespace std; at top of my program my compiler gives some error especially syntax error! my compiler is Borland C++ v.5 for example simple code: [code=c++] #include <stdio.h> #include <conio.h> #include <iostream.h> using namespace std; void main() { clrscr(); getch(); …

Member Avatar for n.aggel
0
2K
Member Avatar for horntastic

I am using Turbo C++ for Windows, version 3.1 at home. At school, we are using a similar version (maybe 3.0 or 3.1), but with a more blocky display. (with block cursor and stuff. my one at home looks more... modern) [EDIT] The school version is Turbo C++ 3.0, possible …

Member Avatar for horntastic
0
141
Member Avatar for veronicak5678

I am in a beginning programming class, and am having all these syntax errors that i can't fiugre out. Please help! [code] /#include <cstdio> //Header Files #include <iostream> #include <cmath> #include <cstdlib> using namespace std; int main(); int init_function(); enum choice {regular=1, super, superdooper,quit}; choice display_function(); int big_switch(); int calculate(int …

Member Avatar for Dave Sinkula
0
120
Member Avatar for wicked357

I need to read the 5 words from a input file mine is called words.txt I am unable to get to work correctly everytime I put inFile >> words[5]; instead of cin >> words[5]; I get a debug error and prog shuts down and nothing is showing up for errors …

Member Avatar for iamthwee
0
123
Member Avatar for jacques95

Hello i have put this into devshed #include <iostream> #include <string> using namespace std; int main () { string mystr; cout << "What's your name? "; getline (cin, mystr); cout << "Hello " << mystr << ".\n"; cout << "How old are you? "; getline (cin, mystr); cout << "I …

Member Avatar for JRM
0
93
Member Avatar for phasita

I would like to separate data in text file. For example A 35 160 B 25 145 C 40 130 the first column is name of member,the second column is age and the last one is weight. The problem is not only one space. There are many spaces between column. …

Member Avatar for Dave Sinkula
0
42
Member Avatar for revenge2

Hey could someone please tell me whats wrong with this? [CODE]#include <iostream> using namespace std; int main() { const int sunday =7; const int monday =1; const int tuesday=2; const int wednesday =3; const int thursday =4; const int friday =5; const int saturday =6; int choice; cout <<" enter …

Member Avatar for Ancient Dragon
0
161
Member Avatar for hectic

I try to use the getline function, it works in simple program and accepts the input from user but when i try to use inside the do while loop, it just escape the line and shows that there is null input. cin works fine, case 1: cl.append(Cb("abc",false)); cout << "text"; …

Member Avatar for vijayan121
0
290
Member Avatar for wicked357

Ok I am writing a program that will read in 5 words using string list[5] and a for loop. Now I need to get it to output the 1st and 3rd letters in the words that were entered. I am having a bit of trouble and not sure what I …

Member Avatar for twomers
0
115
Member Avatar for jilin

If a function prototype is given in a 2 dimensional linked list as [INLINECODE]void InsertNode(NODE<T>*pNode, NODE<T>*pAfter,NODE<T>**pTail)[/INLINECODE], and all the necessary codings for inserting a new node is done for its function implementation, i.e, [CODE]void InsertNode(NODE<T>*pNode, NODE<T>*pAfter, NODE<T>**pTail) { pNode->pNext = pAfter -> pNext; pNode->pPrev = pAfter; if(pAfter->pNext!=NULL) pAfter->pNext->pPrev = pNode; …

Member Avatar for twomers
0
93
Member Avatar for Mariam0097

1.if a five digit number is input through the keyboard, write a program to calculate the sum of its digits.(use the modulus operator %) 2.if a five digit number is input through the keyboard,write a program to reverse the number. 3.if a five digit number is input through the keyboard,write …

Member Avatar for Duki
0
76
Member Avatar for jarv

I have been looking at the amazon DVD search starter kit for VB 2005 express. Is it possible to create a program that you can use to login to your ebay account and see what items you are watching and also search other items on ebay like the amazon search?

Member Avatar for JRM
0
77
Member Avatar for GirlInterrupted

Okay... So I'm taking this c++ class. It's accelerated and I started off great but now... not so much. I've been searching the net trying to find a group of tutorials with quick examples for beginners. Something that clearly shows how to write and call functions. Read in data from …

Member Avatar for Duki
0
86
Member Avatar for zandiago

I need a head-up on this program....i really don't know where to start....however for section one, i'm guessing we'll have to use for loop from 1000 to 9999...because of the fact that they show the range of the samllest to largest 4 digit #'s. In section two I guess we'd …

Member Avatar for zandiago
0
242
Member Avatar for jimwalther

Hey guys, I'm having some trouble figuring out how to do a step in my program. My program is to convert binary numbers to interger values. Everything looks like it will work to me if I am able to add one more step. I have done calculations manually and it …

Member Avatar for Dave Sinkula
0
94
Member Avatar for JoBe

Hello ladies and gents, Got a question, is it wise to create a member of a class by using another class it's constructor and deleting it threw the use of that class it destructor? For example: [code=cplusplus]// Testing code. #include "first.h" int main() { first myMenu; bool gameLoop = true; …

Member Avatar for JoBe
0
120
Member Avatar for n.aggel

i started reading this book [B]c++ templates - the complete guide[/B] about templates... in 3rd chapter {Specializations of Class Templates} it says [QUOTE]You can specialize a class template for certain template arguments. Similar to the overloading of function templates (see page 15), specializing class templates allows you to optimize implementations …

Member Avatar for vijayan121
0
125
Member Avatar for gator6688

error C3861: 'enterData': identifier not found, even with argument-dependent lookup error C3861: 'printCheck': identifier not found, even with argument-dependent lookup Why am I getting this error? [code] #include "stdafx.h" #include <iostream> #include <string> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { string todaysDate,firstName, lastName; double amount; enterData(&todaysDate, &firstName, &lastName, …

Member Avatar for Ancient Dragon
0
305
Member Avatar for pmahalakshmi

sir can u tell me about code warrior environment ?what prior knowledge should i have to learn code warrior?

Member Avatar for Salem
0
87
Member Avatar for gator6688

I have to write a program for an online class that accepts data to the function enterData() and passes it to printCheck to display. I am new to C++ and since it is an online class it is hard to get help. I have to compose a check and be …

Member Avatar for Dave Sinkula
0
285
Member Avatar for zandiago

Good day: There have been similar posts to my question...but i don't see what I'm doing wrong. Our professor wanted us to use a switch/case statement, we started transversing a string....The assisgnment : Write a program that will read in a one line phrase from a text file named “vowels.txt”. …

Member Avatar for zandiago
0
197

The End.