15,539 Topics

Member Avatar for
Member Avatar for Blizt3r

[FONT=Comic Sans MS][COLOR=Red][COLOR=Red]hey dude, I need help regarding my project. Its about creating a program of a vending machine. It said i must include these in the vending machine system menu a) Replenish the system b) Buy Drinks c) Transaction Report d) Quit >> Enter Choice : X I wish …

Member Avatar for Blizt3r
0
136
Member Avatar for flory

Please , help me to Write a program in a new eclipse project called piglatin that converts a string to its Piglatin equivalent . the string begins with a vowel, add "way" to the string. For example, Piglatin for "orange" is "orangeway". 2. Otherwise, find the first occurrence of a …

Member Avatar for Chainsaw
0
119
Member Avatar for nufanvandal

Hey everyone. im having issues with my for loop: basically it reads in from a file using unix redirection and stores the integers into an array, that all works fine, but i need to return the number of integers that were read in, and logically i thought [COLOR=Red]this[/COLOR] would work, …

Member Avatar for nufanvandal
0
113
Member Avatar for Helter

I have an Edit Box on a form. The text entered in it is stored as an AnsiString. I must pass the input AnsiString data to a function that requires a const char* as a parameter. How can I pass the AnsiString as a const char*? I would appreciate any …

Member Avatar for Helter
0
143
Member Avatar for sroberts82

Im accepting a float from the user. I want to protect from him inputing a char cos it messes everything up. How do i do this?

Member Avatar for Dave Sinkula
0
151
Member Avatar for Preston

Hello, i have a rather strange request, I'm looking for someone who can produce a program that hooks into windows's input chain for a game I play and blocks the mouse up event message. Basically I need for the left mouse button to be continually pressed in whichever way is …

Member Avatar for Preston
0
74
Member Avatar for nita

hi I have problem with file. The problem is I have to compare two file 1)master file and 2)transaction file. both have accno, amount,id and code(d-deposit,w-withdraw). the accno is in char[10] ,amount double, id integer and code character[1]. my problem is how to compare accno from master file with accno …

Member Avatar for kc0arf
0
84
Member Avatar for vistatic

How can i write the coding for a reversive of a given integers. for example: char str[] = "012345"; Reverse( str ); printf( str ); then the output will be displayed as [B]"543210" [/B] i need pointer as well to null-terminate string as a parameter and reverses this string. then, …

Member Avatar for meabed
1
354
Member Avatar for vienne

i'm having a problem with below recursive code. there are 4 chars stored in a array, 'a', 'b', 'c', 'd'. input is between 1 and 16, and output should look like this: when input is 1: a b c d when iput is 2: aa ab ac ad ba bb …

0
58
Member Avatar for Naveen

Hi. can anyone tell me where to find a good tutorial for modem and i/o port programming?

Member Avatar for meabed
0
71
Member Avatar for Fili

I want to have a class LIST -- a dinamic list of rational numbers (defined previously in my RATIONAL class). I want another class STACK to inherit LIST's root and end pointers for my list.(STACK also is dinamical) Please help because it says that STACK cannot access the root and …

1
104
Member Avatar for yadi

hi everybody i have a homework to write a program which displays leapyear it is for tmorrow pls anybody send it for me thanks in advance

Member Avatar for alc6379
0
133
Member Avatar for acidburnt

weight fast-post normal courier <500g RM0.80 RM0.45 RM0.65 500-999g RM1.20 RM1.00 RM1.10 1kg-4.999kg RM1.50 RM1.35 RM1.60 >=5kg RM2.75 RM2.00 RM2.65 "Base on the cost of postage above,we have to write a c program for the mailing pakage. here i have some problem about the codding of c programming.i'm a computing …

Member Avatar for Killer_Typo
0
120
Member Avatar for abd2

hi, This is the code to be changed to conditional operators: #include <stdio.h> main() { int x, min, max; printf("Enter val for max and x\n"); scanf("\n%d%d",&max,&x); if(x>max) min=max; else min=x; printf("%d\n",min); } the above code is runing but problem is when changed to conditional operators: #include <stdio.h> main() { int …

Member Avatar for Dave Sinkula
0
161
Member Avatar for dennis_89

Is there a way to modify an exe file if you don't know what program the file was created in? I guess what I am asking is if there is a generic program to modify/change information within an exe program? Dennis

Member Avatar for bentkey
0
89
Member Avatar for Eddie
Member Avatar for Milou

BEGIN +$#Using online Help To identify a tool or control: Position the pointer over a tool or control and pause. A tool tip appears showing the name and keyboard shortcut (if any) for the item. If tool tips don’t appear, the preference for displaying them may be turned off. See …

Member Avatar for samaru
0
86
Member Avatar for NIHAR RANJAN

[COLOR=DarkGreen][SIZE=6][B]POINTER[/B][/SIZE][/COLOR] [COLOR=DarkOrange][SIZE=3]INTERDUCTION::[/SIZE][/COLOR] [SIZE=2][COLOR=DarkOrange]Pointer is a variable that can hold address value. Pointer to integer is not type of integer A questain may arises to your mind that why Pointer variable is not declare like “pointer

0
61
Member Avatar for RaftingBear

I run Windows; only have Windows computers available to me. Now I need to compile a little C program for a UNIX-only web host. How can I get the program compiled so it will run under UNIX? Any help would definitely be appreciated. :-|

Member Avatar for alc6379
0
97
Member Avatar for abr
Member Avatar for nufanvandal

hello, im pretty new to C and for my first project, I have to print out information about a box.(exciting...) anyway, i have the user enter the width and height of the 2d box, and then give them a menu to select from, to get info about the box, perimeter, …

Member Avatar for red_evolve
0
259
Member Avatar for MAD_DOG

I just wanted to know if any of you ever seen Terminator 3 well remember all those cool lights and buttons and stuff going on the computer screens when they flip on buttons? Well the project I want to know if possible is creating something just like it. It has …

0
84
Member Avatar for datk0m

Could someone give me a hint, an algorithm or a source code if you like.... for this program... I need to display and store the highest scorers in my Game.... How is that?

Member Avatar for meabed
0
68
Member Avatar for pheks

Basically this is what i want to do: myClass::DoDataExchange(CDataExchange* pDX) { DDX_Text(pDX,IDC_EDIT_WORKSTATION_NO,myPointer->attribute,sizeof (myPointer->attribute)); DDX_Text(pDX,IDC_EDIT_FAULT_DESCRIPTION,myPointer->myVariable,sizeof(myPointer->myVariable)); .... .... } Each set of edit boxes (there are five on the dialog) represents a single record and would like to use the same edit boxes to enter another record until all items are captured. …

0
66
Member Avatar for gichangA

Hi I keep getting Nothing from communications port when I use `_inp(short portid);` I equally get nothing when I use `asm{ in dx,al}` Please help!!! *gichangA.*

0
66
Member Avatar for datk0m

Hello! I'm just a beginner in C Programming. I just want to ask for some help here! I need to input a number 10, 20 or 0 If I entered a number 100, 2000, or 0000 that will be invalid... There should only be a limit of two characters..... and …

Member Avatar for red_evolve
0
149
Member Avatar for oujmjyu

:( Hi, I am creating a program that analyses a GUI within Windows XP environment.I am using Java to do all the Guis and other bits. Also, I use Java Native Interface to talk to Windows API. I am having a few problems. I need to make a mouse pointer …

Member Avatar for oujmjyu
1
337
Member Avatar for awmp-jansen

hi all. I submit this program done under Borland beacuse i have a problem running my second function (indicated) Plz help me. #include <process.h> #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <conio.h> void affichage(); void affichage2(); void main(int argc, char *argv[]) { void affichage(); } void affichage(int argc, char *argv[]) …

Member Avatar for Dave Sinkula
0
127
Member Avatar for Richard Wong

Goal: I would like to assign the content of a known function to a function pointer in LINUX environment. Problem: Get segmentation fault when running the function pointer after assignment. Procedure: 1). declare a funtion pointer. 2). Allocate memory space to the function pointer using the function' malloc' 3). Copy …

Member Avatar for Chainsaw
0
76
Member Avatar for mike3x1

Hi i'm having a few problems..i'm trying to do a time class that holds the hr, min , and meridian( am or Pm). this is what i have so far. For the void set how would i set the char mer[] to am or pm. class Time { long hr, …

Member Avatar for K-1
1
188

The End.