Hi. I want to make a simple console program where the user enters in values and then after done using program get an option asking if the user wants to save the values entered into the database. What...
Type: Posts; User: Cilius
Hi. I want to make a simple console program where the user enters in values and then after done using program get an option asking if the user wants to save the values entered into the database. What...
With this code:
winClass.hIcon LoadIcon(HINSTANCE hInst, LPCSTR lpszName); I can load a custom icon through, I'm not sure how I can do this with dev C++. The book I'm reading doesn't give examples...
Lets say I wrote in a function in my program where if you select a name to delete (the name is set to: NameArray[x]). Now what I want to do is.. if that name is selected for deletion, that...
EDITS: Oh ok, Ill try that.
Generally, my programming skills originate from Borland C++ and I'm trying Dev C++. This simple program that I got from a book does not work in Dev C++.
#include <stdio.h>
void main()
{
...
Thanks! Ill use that.
works as intended tho however, I was hoping to have \n for cin.get(); can be used over and over instead of adding cin>>var; cin.ignore(); .. still works thx for the help everyone.
...
Unfortunately Im using Borland C++ ver 4.52 (Old)
and .h has to be included or it will not open, and the stdlib will only work =/
i used the cin>>somevar; and cin.ignore(); and set somevar to 'a' and works. Next question, Is there a way to make it so that in my for loop if a certain condition is met within, the for statement...
Well i geuss no one realizes what I want to fix so i'll say it simply:
I used a cin.get(); in the beginning of the code so the program will continue what its doing and then runs into another...
Ill explain first what the problem is and then show code:
I recently discovered this site and read up on the cin.get(); so that text can be displayed before the program closes. I used it for when...