15,552 Topics
| |
i am pretty new at programming but i want to make a program that will download a file from a TFTP server and then execute that file in command prompt with specific paramete. Can someone give me some general coding i should use? | |
Hello everybody, I am very curious to see the source codes that describe an image. I want to actually check the source-codes of gif, jpeg etc. files. Also, I am very curious to see the source codes that describe an sound. I want to actually check the source-codes of mp3 … | |
Hi, My assignment for class was to produce a program that runs the seive of eratosthenes to determine all the prime numbers between 2 and n, with n no larger than 100. I tryed to write the program with a boolian array that will turn all non-primes to false up … | |
I have a question on how to program my nested loops. This is the output i am supposed to have. Enter the number you want to sum to: 8 0 = 0 0 + 1 = 1 0 + 1 + 2 = 3 0 + 1 + 2 + … | |
I can't get this correct for the life of me please help!! one part (the one thats wrong) says to write it to determine the day of the week for a given day. I don't know how to do this? | |
i would be plzed that some1 tells me why doesn't my program run?and gives this massege [COLOR=Red]"could not creat process!"[/COLOR] [CODE] #include<stdio.h> #include<stdlib.h> #include<conio.h> struct list { char alph; int freq; }; struct list a[256]; /////////////////////////////////////////////////////////////// int main(){ int j,m,f,k; FILE *fin; char ch; clrscr(); fin=fopen("a:test.txt","wt"); printf("\n enter characters($ for … | |
I am having a problem with my make I ran the make depend with no errors but when I ran the make it it gave me an error of ld fatal library -llog_mgr not found. | |
i have to write this program Create a simple game program that guesses a number. Ask the user to think of a number between 0 and 7. Then ask three yes or no questions and a binary search to discover the answer. Input and guard the users answer with an … | |
Hi All, I have a build an application which uses file names from a directory. to get these file names I used the following code from MSDN. FILE * fp; String *extension; // Create a reference to the current directory. DirectoryInfo* di = new DirectoryInfo("C:\Sachin"); // Create an array representing … | |
Hi everyone, I need to write a compiler using Yacc and I have encountered a problem. Since some of the code is C i thought I would try here. The problem occurs at one line in the following program. Once running, everything runs fine till this line is hit, then … | |
can any one give me C program for ROUND ROBIN ALGORITHM . please needed urgently | |
Just to attract your attention. :cheesy: :lol: :cool: ;) Here's the problem: I have this string "flames". Then I get a number from earlier part of myprogram. Let the number be 4. Now 'm' is the 4th character. This should be removed. Then the remaining string is "flaes". Now 'e … | |
Hi, I hope I'm posting this in the right place. I'm trying to develop some code to mark the DSCP field of all packets using the MS Traffic Control api. From looking around this seems to be several years old but I can't find any code examples or useful information … | |
I'm having trouble with syntax errors before "else" when I compile My code looks like this: [CODE]if (x == 1) { statement1 else if (x == 2) statement2 else if (x == 3) statement3 } else statement4[/CODE] It gives me the errors on the middle else's. I know its something … | |
Hello, I'm new to this site and this is my first post. I got an assignment where I have to do a QuickSort on 100,000 numbers first and then combine QuickSort and BubbleSort so that the BubbleSort comes in for the last 1,000 numbers. The information is to be exported … | |
I have a program for a 5-way sort merge. I can get the program to read from the original file of 1,000,000 records and write them to 5 tempoary files (File0 thru File4). Then, I am suppose to close the temp files (Files 0 - 4) and open them as … | |
Alright, the book gave me a definition and I get it...I know what it supposed to do but I have no clue on how to use it... well...the book says I can use it as power(base, exponent) = base*exponent alright, lets say i have a program looping 30 times... then … | |
How can I use this to find out if the number I imputed is odd or even??? | |
Hi, I'm trying to play with classes and I'm having trouble with a theoretical problem. I've create a 'Log' class, who creates and writes to log files. I was able to overload the << operator so that I could write to my log as follows: `Log logOne("log.txt", true, "\n" );` … | |
hello guys. :confused: just a question about vectors: (sorry if it seems stupid, but i really don't know much about vectors) is it possible to return a vector or a pointer to vector from a function? if so, how? thanks in advance. | |
I got some help on here earlier (thanks if you are reading) and its looks much better, but it still says sytex error at line 69 sidentifier "display_balances" Please, what is wrong with this function, or is something else interferring. Thanks. Will | |
Hello all I have a problem at hand. I need to work on a C code which will read multiple images in RAW format (greyscale) and do an AND operation of corresponding pixels of all the images. Can someone help out on this? I am a novice and would definitely … | |
Hi Guys/Gals, Is anyone of you using/reading the above book by Robert Sedgewick? I am trying to write some graph algorithms using C and trying to learn it using the above book. Having some problems. It would be great if you are also using the book or have already mastered … | |
I need to write a string field-char customer_name[20]- in a structure data type to a file using fprintf,fscanf,scanf. I failed to use the below syntax. Please I need to not go outside scanf,fprintf,printf . /* Book name : The prodessional programmers guide to C File name : E:\programs\tc\iti01\ch09\main\01setupm.c Program discription: … | |
[URL]http://www.astercity.net/~28im42ga/test2.rar[/URL] i`ve got a problem for most of You it`s probably very simple so PLEASE help me!! i`ve made a modal window but any buttons placed there don`t work, it`s possible to click on them but nothing happens, the source code is not called here is an exapmle source code: … | |
I have a structure set up from some earlier help. Now when I try to write the data to the disk I only write zero's. I have no idea what I have done wrong or why this is happening. I realize this is not the complete program but shows the … | |
I have to apologize to the moderators that I was not sure where I should post my question. So if this is wrong fourm feel free to move it to a more suitable place, thank you. First of all I like to thank everyone here for their help in last … | |
hallo reader, I ve been trying to improve my algorithms skills and tools lately. So, i ve read about the big O and little o notations, but i couldnt really get them Especially the little o.. so if you could explain them or even direct me to a link where … | |
Hi, does anybody have an algorithm in C that approximates the probnorm functions that one finds in SAS, for example. I'd hate to build the table from scratch. Probnorm function is the P(X <= x) where X ~ N(mu,sigma^2) So, Probnorm(1.96) = 0.9750 and so forth. Moderator edit: No requests … | |
hi guys! please help me... :cry: i really don't know how to do this... part of the specs in my program is to show values after i used some formulas...but i need to make it such that i can scroll down/up to view my results, since i'll need to display … |
The End.