Hi, thanks for your reply!
To be honest I still very fresh in C++ as I just started a few days ago, I'm sorry that I can't really understand what do you mean :(
Can you provide me some example...
Type: Posts; User: Milo Juak MuTou
Hi, thanks for your reply!
To be honest I still very fresh in C++ as I just started a few days ago, I'm sorry that I can't really understand what do you mean :(
Can you provide me some example...
Greeting,
I wonder how can I improve my validity check for user input? I only want them to key in certain range of digit.
Also for my validity check, when I key in character such as ABC, it...
Thanks! I finally resolved my problem by using strcpy, I feel I'm stupid for making mistake like &d lol.. Thanks for pointing that out :) Learnt a lots of thing, this has been bugging me for whole...
Hellow :) thanks for your respond,
I believe the problem is not there, I think the problem is somewhere around :
tempStorage -> categoryID = tempCategoryID;
tempStorage -> categoryName[50] =...
Dear guys,
I'm facing some problem about the Name is not displaying as I expected..
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
Hellow, thanks for your fast respond, really appreciate it. :)
I tried :
temp = malloc(sizeof(node));
temp-> id= tempid;
temp->name= tempname;
temp-> idP= tempidP;
temp->nameP= tempnameP;...
Hellow everyone,
I have a problem in converting a C++ code to C.
struct node
{
int id;
string name;
while ( strchr("SPE", toupper(choice) ) == NULL )
What is toupper mean? ;O It include the 's' 'p' 'e'?
Another question :
How do I make my program delay for a few second? sleep(1) seem like...
printf("\t\tPlease Choose:\n");
printf("\t\t[S]ales\n");
printf("\t\t[P]ayment\n");
printf("\t\t[E]xit\n");
printf("\t\tYour choice: ");
scanf(" %c", &choice);
while...
Thanks all, now I know what I did wrong.. You guys are so helpful ;D Thanks <3
Can you explain in a more simple way? ><
And actually what is the function for getchar();?
Dear sir and madam,
I would like to ask why it print 2 times instead of one if I input a wrong character ._.?
#include<stdio.h>
int main()
{
float H_P = 24.90, I_S = 25.90, V_D = 25;