- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
Friends i have little bit problem in making a c language program. I have to make a program which prints prime numbers from 1 to 500. I make this program but with while loop then i was told to make it using for loop, which i tried but failed. So … |
|
Re:
Hello to you all , I am required to write a program which gets a Math Expression (without checking it is good) and put in Stack only the Brackets . Implementation of Stack is One-Way Linked List Only. Examples for Good/Bad Expressions : (a*{b+c}-4/x +[e-5]) - GOOD (5+} - BAD … |
|
Re:
Alright.. I have to rewrite a program. The thing is, I have to rewrite it using parent and children... With processes (pipes) or threads... How do you create the parents and children with either of these? I am basically asking for a tutorial on how you would create these with … |
|
Re:
I've got a 2 tricky questions for u. Can anyone write: 1). A "Hello World" program in 'C' without using any semicolon. 2). A 'C' program without using any loop (if, for, while,etc...) to print numbers. A friend gave me those questions but up till now i have not been … |
|
This is/was an interview question I got two weeks ago. Find where the loop begins in simple linked list. I hope this figure will help understand what I mean : [code] [LEFT][1] ->[2] ->[3] ->[4] ->[5] ^ | | U [10] [6] ^ | | U [9]<- [8]<- [7][/LEFT] [/code] … |
|
Re:
hello friends could anybody give me idea how i can find a loop in simple linked list |
|
Re:
hi, can someone understand how the new element is being attached to the list in this code? [CODE] void insertSortedList (Node **head, int value) { /* creating a new node */ Node *ptr = createNode (value); Node **pCurrent = head; /* adding the new node to the correct place in … |
|
Re:
[code]#include <iostream> #include <fstream> #include <string> #include <stdio.h> #include <stdlib.h> #include <conio.h> using namespace std; #define MAXLENGTH 20 #define WORDLENGTH 20 enum dir { LEFT=0,UPLEFT,UP,UPRIGHT,RIGHT,BOTTOMRIGHT,BOTTOM,BOTTOMLEFT}; enum menu { LOAD=0,SOLVE,CREATE,QUIT }; struct WORD { char word[WORDLENGTH]; int length; int row; int col; dir d; }; typedef struct WORD word; word wordlist[100]; … |
|
Re:
[B]homework(original function names in () )[/B] i have done most of the job allready, but i can't seem to make it do exactelly what the program should. My job is to make a program that asks numbers of busses(10,27,33,36) and the departure(valjus) times and save them into a txt document … |
|
Re:
Hey guys im reading in a text file with several fields iv tokenized the '|' so that it only reads the fields categoryId, drinkType, the categoryName, and categoryDescription. My question is how come when i read the file and copy the reading buffer "temp" into each struct it does not … |
|
Re:
I’m looking for an up-to-date C/C++ compiler which is available for free and not dependant on .NET. I would also like to find a compiler for Linux, GCC or G++ is ok but I’m having issues installing. (Actually [U]using [/U]Linux is new to me). |
|
Re:
This problem is asking me to convert an infix expression to a postfix expression using recursion. I did the exact same problem using stacks (w/o recursion), which was much easier, but on this one, I get stumped constantly when I try to come up with a line of code to … |
|
Re:
Hi, Can anyone help with a project I'm working on I'm new to classes and I got really confused while trying to convert a simple console application in to a class file. I would appreciate some help if anyone willing to. Following is the code I am trying to convert … |
|
Re:
so basically i have four files named, "ASN, EXER,MID,FINAL" that have grades inputed in with the amount shown below.....all i want is to have them saved in an array so i can use them to calculate a grade....the code below is what i have right now, dont understand the errors, … |
|
Re:
Alright... first off I hate fgets with a passion :) Anyway, I am wanting to read a file into a 2 dimensional array and then randomly select one of those lines to output... What am I missing here? [CODE]void displayQuestion() { /* fp is a FILE pointer. This pointer will … |
|
Re:
my delete operation doesn't work.the element which is added last is being deleted.ı want to delete the one ı want; not the last entered.how can ı do that?can you help me?thank you very much for your consideration... [code]#include <stdio.h> #include <stdlib.h> typedef struct student { char name [25]; int age; … |
|
Re:
I have problems with this small class program, have two classes...registration and course. I am writing a small function for registration adds the credits. I made an array called ptr of type course in the registration class. Now when i try to access credit a private member in the class … |