- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 18
- Posts with Upvotes
- 17
- Upvoting Members
- 10
- Downvotes Received
- 6
- Posts with Downvotes
- 6
- Downvoting Members
- 5
[B]hi friends[/B] this small compact code is for printing any number of prime numbers in C Language, you just have to change the last line's 500 to any number you want, here some points necessary to understand the code are as follows- 1.> variable torf stands for true or false,in … |
|
is there possible to simplify this statement ? There are same if I using the case statement and while loop. void decode (unsigned char* msg) { if (strstr (msg, "DO=0x00") != NULL) // 0 { //00000 LATGbits.LATG1 = 0 ; //DO1 OFF LATGbits.LATG0 = 1 ; //DO2 OFF LATGbits.LATG13 = … |
|
when naming the constant in C++ program, WHY DOES IT IMPORTANT TO NAME FOR EXAMPLE INCHES_PER_FOOT ? |
|
hi there, i also have an emergency home work it about Fibonnaci recursive the Output is should be like this : -------------------------------------------------- First number of the fibonnaci : 3 The Fibonacci Lines are : 3 4 7 11 18 29 ... ---------------------------------------------------- i want the result is until 10 lines … |
|
hi, can anyone provide me the C code for login in screen.I m using C(borland)compiler and working on xp. The requirments are following- 1.Should accept user name as user-1,user-2 2.Accept password(should not displyed on the screen) 3.A case insenstive coparison is to be done for usname and password. 4.Login name … |
|
Okay, I need to write a maze solver for the maze in the text file (yes it is an assignment). I am not asking for a direct answer, I just want someone to propose ways of solving the maze( I also have to mark the paths taken in the maze). … |
|
HI All How can we generate a sine wave without using the sin() function. Thanks pretu |
|
Hey everyone, as the title suggests I'm trying to find a function or some code that'll execute a string of code in Lua. If anyone is familiar with Python, It would be the eval function. ex: [CODE=python] eval("y=1") print(y) >>> 1[/CODE] Essentially, I'd like to do that same thing in … |
|
Hi, Trying to write some C code for an assignment using a PIC16F84 for a digital watch/alarm. RA0 to increment time RA1 to decrement time RA2 set-move to next digit RB7 set time/alarm RB6 enable/disable alarm 1. press RB7 once to set time. 2. press RA0 or RA1 repeatedly until … |
|
I need to write a c program which takes a algorithm as the input and gives the equivalent c source code as the output.any ideas???? |
|
hello, i need to do 15 puzzle algorithm in C as a part of my assignment.Can i please get help for this?? thanku, lucy. |
|
what are the image compression algorithms ? how to implement a new image compression algorithms ? can u give some tips to develop the code? |
|
What language is the most difficult to compile and why ? (except natural ones) |
|
|
Hi, I am using the following code to download files from the internet: [code=c]size_t write_data(void *ptr, size_t size, size_t nmemb, FILE *stream) { size_t written; written = fwrite(ptr, size, nmemb, stream); return written; } int main(int argc, char** argv) { FILE *downloaded_file; if ( (downloaded_file = fopen (download_path , "w" … |
I am looking for an API that can provide simple, 2D graphics support. Since Direct3D wasn't directly made for 2D, I looked elsewhere, and saw an API called Direct2D by Microsoft. Can anyone point me to a good tutorial on this API. The one Microsoft provides is very overly complicated … |
|
Hi guys is this possible to write a biggest number program( biggest among 3) in a single line |
|
Hi. plz tell me how I can connect to an SQL server to an microcontroller or a PC using C language.... Plz reply soon.... |
|
Well, right now i'm using linux, but i've heard that windows is really best for programing videogames ( on c++ ) well, wich O.S. do you think is the best? P.D. Sorry for the bad english jeje :$ |
|
Hi, I've just created my first 2d game (c# XNA) - a car racing game. My problem is how to perform a multiplayer mode. I wanted to use MySQL server. I decided to try with a local database (SQLite) first. As i suspected it didn't work. The thing is that … |
|
Hello, Please can anybody tell me how can I move a 3d model I am making a 3d human body tracking and i have reached the stage that i extract the position of the main parts of the human body using a camera (wrist, elbow , shoulder, waist,knee & ankle) … |
|
I have heard you can efficiently use your GPU to do fast floating point calculations. This can be done using OpenGL but you may have to use the library in an unorthodox way or graphics card toolkits such as CUDA (by nVidia) which I guess is Graphics card specific. Does … |
|
[CODE] int a[10]={3,45,6,78,89,334,4,77,54,60}; int *p=a; [/CODE] what will *p++ do ? as ++ has more priority than * therefore ++ will be executed fisrt ? but its postincrement so it will happen after change of line or statement. so will it increment the pointer or increment the value hold by … |
|
Which of these encryption methods is more effective (secure) Vinegere or basic XOR encryption, if the key we use is the same size in both cases? |
|
You are given a one-dimensional array of signed integers. Find the (contiguous) subarray with the largest sum. If none of the array elements are negative, the solution is obviously that the subarray is equal to the entire array, so the problem is interesting only if the integers are signed. There … |
|
hi,I am an amateur c programmer.I am using turbo c++ v3.1 compiler. here is a simple program to input and display name and address.. There are two problems in my program 1) telephone number is too long for int and it displays some weird value.. so i tried long int, … |
|
I made this code and i dont know what to do with my warning in calling function calc() inside the function getOption(). What should i do? need some little help here. [CODE]#include<stdio.h> void getOption(); void getData(int *num1, int *num2); void calc(int option, int num1, int num2); float add(int num1, int … |
|
just an idea ...im not a programmer yet starting college aug. c++ and java both have complex syntax and i cant learn on my own, python is good but not supported aswell and basic is really basic any more thanks to object oriented stuff English the programming and scripting language … |
|
Hello everyone, I'm new and I have next to no experience with c++ and I wish to learn. So, these questions may seem ridiculous, and they probably are but, please answer. What is a game engine and how to make one (in a nutshell)? How long, if I have no … |
|
Sorry guys, I know I should be thinking about this myself but after having all my seven proposals rejected:sad: , I have resorted to daniweb. Please give some ideas for a good thesis topic. If possible, please suggest something with some educational or business potential.:cool: |