- Strength to Increase Rep
- +2
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 7
- Posts with Downvotes
- 1
- Downvoting Members
- 7
Re:
i have made a program in school that chooses a random number and you need to guess it. you put in a number and it says higher or lower. the only problem is that i can't set RAND_MAX and its a 4 or 5 diget number (havent figured it out … |
|
I have a base class called Matrix which has a function transpose. I also have a derived class Matrix2 which is inherited publicly from Matrix class Matrix { public: Matrix(); ... Matrix Transpose(void); ... }; class Matrix2 : public Matrix { public: Matrix2(); ... }; In my main code, I … |
|
|
Re:
Here is a simple Polynomial class. Its purpose is to show how one can [B]simply [/B]create a Polynomial class without using abstract datastructures such as linked lists etc. Each term is printed out in order of its power - from highest to lowest. Inspiration was taken from a Java source … |
I am trying to implement the datarecieved based event handler, I think I am able to receive data from the port, but having difficulties executing the event.. I have tried both ReadLine and ReadExisting.. can you please comment on my code.. Thanks, [CODE] public partial class Form1 : Form { … |
|
Hello All, I am working with a program the reads data from a file and plots it to a graph in real time. My stream is coming from a microcontroller output and I am building an interface to display the data. I am using stream reader in my routine, but … |
|
[B]Simple Question: Please read[/B] I have the following code snippet from my program that i am working on [CODE] bit running = 0; float var1, average_value; void is_something_running(void) { if (fabs(var1 - average_value) <= 0.001){ return *(&running) = 0; } else return *(&running) = 1; }[/CODE] var1 and average value … |
|
Hello all, I would like to make a simple page showcasing my experience, bio, CV, research work and so on.. What web development platform (by platform i mean, web server, language, software) do you recommend for me to carry out this project? Ideally, i would like to have a server … |
|
Re:
Daily life magazine wants an analysis of the demographic characteristics its readers. The marketing department has collected reader survey records containing, the age, gender, maritial status, and annual income of the readers. Design an application that allows a user to enter reader data and, when data entry is complete produces … |
|
|
Re:
I'm working on a tasklist program to brush up on my C before I take a class. I have two structs, task and tasklist. Here is the task struct: [CODE] typedef struct task { char name[100]; bool completed; /* bool is described as an enum in an included header file … |
Re:
i need automata program in c language...... |
|
Re:
I'm working on a PIC project, and my brain has almost exploded! I'm hoping that by writing down my problem, that the answer will come to me, but please feel free to help! Background (mostly irrelevant to an outsider): I'm storing a number in a variable (say r, an unsigned … |
|
Hello, Please see the code below. it combines 2 strings into one. [code=c] #include<stdio.h> #include <string.h> int main() { char a[10], b[10], *p = NULL, *combine(char *s, char *t); strcpy(a, "horse"); strcpy(b, "fly"); p = combine(a,b); printf("%s\n",a); printf("%s\n",b); printf("%s",p); } char *combine(char *s, char *t) { int x,y; char r[50]; … |
|
Re:
Hello to everyone,I'm using a Borland BCC55 compiler to describe the logarithm function. It works fine,but only with numbers higher than 1,if I insert any floating point the result stucks on -46,whatacer number <1 I write. Here is the function,I made it myself (on a text host): [url]http://freetexthost.com/kv0rdi4gno[/url] Of course … |
|
Re:
i m doing a project in operating system lab. i hav chose atm machine stimulation. i have a coding to access floppy as atm card but i find difficult to access it. so thought to access using cd .[B] is ter any possibility to access cd using c program??? [/B][U]pls … |
|
Re:
hello all, i am salah el deen saleh , i am 20 years all and i live in cairo in egypt , i am studying biomedical engineering and i am addicted to software as well as hardware . |
|
|