15,554 Topics
![]() | |
sir i want to convert number in word format like 456 into "four hundread fifty six" .plz help me to make this program.my id is thank you | |
Hi Guys, it's me again! I have been posing memory-related problems for the past few days because I don't seem to understand what is the problem with my code. I kind of figured it's due to memory issues....so here's my question. Suppose I have a (first in first out) queue … | |
#include<stdio.h> main() {int i; do{ printf("*"); scanf("%d",&i); }while(1); } this is a sample program,but u don't look down upon it when u input a unnummber ,there will no stop! i want to know why ??????????????????? | |
Hi ppl I would really appreciate if someone help me out here. I really tried to do this problem and its driving me crazy. All I could get is the algorithum of worst fit, best-fit next fit and first fit. Please help me as soon as I can. And I … | |
Hello, I am attempting to make a stored procedure call to an ADO. I will paste in the try loop. Problem is code compiles and runs, however; the stored procedure never runs. It's supposed to create a row in the DB, and the row is never created. If I run … | |
Hello Daniweb Forum Users, I have been trying to create a ported version of a caculator game to C, but I am new to C and have been learning from "The C Programming Language", 2nd Edition. I have had only one major trouble that has prevented me from starting: I … | |
I have some old dll file that were created using Realia Cobol compiler ver 3.10. How can I read these files to extract the values for my new program? | |
I am only a college student at a nearby university and i dont claim myself an expert but i am really having difficulty in trying to make a game called Tic Tac Toe in Turbo C. our professor put some requirements for the game. First, the user may enter an … | |
Hi ppl I would really appreciate if someone help me out here. I really tried to do this problem and its driving me crazy. All I could get is the algorithum of worst fit, best-fit next fit and first fit. PLease I willing to give away g-mail invite if you … | |
I have a first-in-first-out queue implementation such that when it is first initialized, a malloc is called to set aside memory for items that will be placed on the queue. When I am done with the queue, how do I free up the memory? My code for the queue is … | |
Hi, I am writing a program at the moment which requires me to scan in data from an external file, which to be added to a linked list. The external file is a list of pairs of cities and the distances between them - each piece of data is tab-delimited, … | |
I not able to decide how to read in a data of the following table A B(initial values) | x = 0 | x = 1 ------+--------+-------- 0 0 | q=0, y=0 | q=3, y=1 note: q=0 means A and B are 0, 0 1 | q=0, y=0 | q=2, … | |
Hi, I have an assignment which entails coding a sequential state machine form arbitrary charecteristic table of a flip-flop and the state specifications given. .For example, if the user wants one input x and one output y, and the following excitatoin table for the state machine: | x = 0 … | |
I need some help with the following problem. We've touched on scanning tree algorithms a little bit, but not to this extent. My textbook has been useless so far. Can somebody help me with the answers to this? Answer the following: template <typename T> int treeFunc(tnode<T> *t) { int n … | |
I am trying to get my program to display multiple files for a user to choose from to load, this is the general code i tried but don't know how to actually put it as (the for loop is what i am having the trouble with) [code] ofstream save; ifstream … | |
Hello ladies and gents, I'm starting on the next exercise, but I'm puzzled a bit and was wondering if any of you might help me with this. I have to enter four integer numbers, non negative and smaller then 16 into ONE variable int x, now, the thing I was … | |
| |
Is it neccesary to ever define more than one output or input handle in a Win32 Console program? | |
Hi,how do we use perror? Does it only prints out the error message? If so , why don't we use printf instead? Thanks. | |
I keep getting this error message about intializing a varible as a string type: `string' does not name a type I cant figure out how to get rid of it even though i have #include<string> any help would be great: [code] #include <string> #include <fstream> int MAX_ITEMS = 5; enum … | |
Hi, I am having problem with the following code.This is on a 32 bit system. The problem statement is: /* isLess - if x < y then return 1, else return 0 * Example: isLess(4,5) = 1. * Legal ops: ! ~ & ^ | + << >> * Max … | |
I'm not an idiot but there are times when my computer sure makes me feel like one. I have several arrays declared in my code yet there are a couple of new ones that I am trying to create that it won't accept as greater than one dimension. good arrays … | |
hi there, I have a linked of structures that I created, but i wanted to implement it using classes. here is a sample of my code that works perfect. The struct, and a function to insert items into the linked list. thanks in advance. [code] struct NodeQ { NodeQ *next; … | |
Hi.. I made two codes in C language. One of them is a [B]Dynamic stack [/B] and the other is [B]Dynamic queue[/B]. They are working correctly but I had one problem In both of them. The option 3 in Dynamic Stack [B]code [COLOR=DarkRed]doesn't display the topic in order[/COLOR][/B]? This problem … | |
How do I solve this? [COLOR=DarkRed]illegal reference to data member 'myClass:flag' in a static member function [/COLOR] [CODE] class myClass{ public: static void change_flag(); private: bool flag; }; myClass::change_flag(){ flag=false; } [/CODE] | |
Iam a New to web page need help making My program access a web page automatic, so when a user starts a program it will send user to server to get information off of server | |
hello there ....can someone help me solve my problem of my assignment....i try to code it....so I need some guidances ... This is the question... An operating systems uses shortest job first scheduling for it’s process management. Assume that there are 10 processes waiting in a queue which is implemented … | |
At the beginning of an "IF" statement, I have: [code]if (SHORT GetKeyState(int 48)==1){[/code] When compiling I get a syntax error just before the constant, and I've played around with it a bit, but haven't found what to do. Could someone fix this or explain to me why it's not working? | |
Could someone help me with a linked list code. I just cant figure it out. I dont know how to code the part where I need to insert an element in ascending order. Either when there are no nodes then when there is one or a few nodes. Can anyone … | |
Hello! :p I don't fully understand how the Fall-Through method works. I’m making a Calendar and I’m using the switch statement to find which season it is for the month. Here is the book code: [CODE]switch (month) { case 12: case 1: case 2: Console::WriteLine(S" [Winter]"); break; case 3: case … |
The End.