Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
81% Quality Score
Upvotes Received
30
Posts with Upvotes
29
Upvoting Members
8
Downvotes Received
4
Posts with Downvotes
3
Downvoting Members
4
7 Commented Posts
~161.91K People Reached
About Me

full-time student

Interests
computer games, softwares etc.
Favorite Tags
Member Avatar for samaru
Member Avatar for Dani

Well guys, I feel so puny to introduce myself among u great techies. I am no professional; just a freshman in a university tryin to do a BS in computer science. I am learning C programming language at the moment(wish me luck). I do have a little skill in adobe …

Member Avatar for jamesjoseph1
0
9K
Member Avatar for harshchandra
Member Avatar for lara_

Okay, I have to say that i often use getch() not just to halt the console window. I used getch() along with kbhit() [to get the key if pressed any]--very important use of getch(). And there are times when I have given the user to choose from a number of …

Member Avatar for nootan.ghimire_1
0
7K
Member Avatar for Croft .L

How bout this: [URL=http://www.download.com/BlueVoda-Website-Builder/3000-2048_4-10422060.html]BlueVoda[/URL]

Member Avatar for jawad.hassan.5836
0
815
Member Avatar for Asif_NSU

I wrote this code that checks whether a number is prime or not. It returns 1 if the number is prime or 0 otherwise. U just look at the bottom of the code... [CODE]#include<stdio.h> #include<conio.h> #include<assert.h> int is_prime(int n); void main(void) { int n=0; clrscr(); printf("An integer "); scanf("%d",&n); assert(n …

Member Avatar for Djoooleee
1
4K
Member Avatar for Yzk
Member Avatar for Dani

Yea that pseudocode is just like BASIC statements. I would suggest: start get the value of a get the value of b assign c to the value of (a+b) print c end a more compact way to follow is: get a get b c <-- a+b (most programmers use <--- …

Member Avatar for arielsandara.mije
0
434
Member Avatar for Asif_NSU

[QUOTE=Dave Sinkula]You may want to investigate makefiles. Then you can use your favorite editor and still write modular code the correct way.[/QUOTE] I just had a glance at how to write makefiles. Looks messy(will look into that later). So opened Dev C++ instead, and tried to work with projects for …

Member Avatar for Musa_Jutt
0
3K
Member Avatar for varunrathi

to varunrathi, I believe u need to be a little more specific with ur problem. We also need to know a few more things... 1. U r using static arrays right? Why dont u try dynamic memory allocation with pointers? Even then the amount of memory is always limited by …

Member Avatar for gerard4143
0
1K
Member Avatar for Asif_NSU

This is (supposed to be) a soln for a [URL=http://acm.uva.es/p/v1/101.html]ACM problem[/URL] But the program produces a runtime error. Can anyone spot the bug? [CODE] #include<iostream> #include<string> #define MAX 25 using namespace std; void print_blocks(); int return_initial(int a);//return all the blocks //on top of block a to their initial pos int …

Member Avatar for blackcloudbd
0
627
Member Avatar for Asif_NSU

Gaussian elimination is designed to solve systems of linear algebraic equations, [A][X] = [B] This program reads input from a file which is passed as an argument when calling the program. Say the matrix is in file name matrix.txt so we call the program in this way: ------------------------- gauss matrix.txt …

Member Avatar for xNourax
0
1K
Member Avatar for Asif_NSU

Hi there C /C++ experts... I have a confusion regarding the function free(void *) in C and [I]delete[/I] in C++. Suppose there is a pointer named p. In C++, we dynamically allocate memory for p to point at like this [CODE] p = new int [10]. [/CODE],then when we use …

Member Avatar for ahtaniv
0
771
Member Avatar for Asif_NSU

i will be given a set of any length and my program will have to produce the power set. For example: input: c d e output: empty c d e cd de ce cde total number of subsets: 2^3 = 8 I will try to write my own code, but …

Member Avatar for elemes
0
1K
Member Avatar for ritcherjd

[QUOTE=vegaseat]What a lively thread!!! I have been accused of using lame old Turbo C code in the past by our friend Narue, and heeded her salutary advice. I have to admit that I enjoy her comments a lot, and of course the always impeccable English. Please take it easy on …

Member Avatar for angelique28
0
1K
Member Avatar for Asif_NSU

I was trying to do some simple exercises on recursive functions: 1. Write a function using Recursion to print numbers from n to 0. My solution: [CODE]int integer(int n) { if(n>=0) { printf("\n%d",n); integer(--n); } }[/CODE] The next exercise was 2. Write a function using Recursion to print numbers from …

Member Avatar for rexel0924
1
212
Member Avatar for varunrathi

To vegaseat: I appreciate ur effort to help out varunrathi. However, i think he wanted help with generating permutation(anagrams) of a given word, not to learn how to use STL. I believe if u had given him the pseudo code or the algorithm --that would have helped him more than …

Member Avatar for richieking
0
916
Member Avatar for kloony

Yes, segmentation fault has chased me long enough when i was learning pointers. Most of the time it gotta do something with the pointers or array. It occurs when... 1. U de-reference a NULL pointer. 2. U de-reference an uninitialized pointer --which results in accessing memory outside of ur memory …

Member Avatar for creeps
0
197
Member Avatar for castro1688

I m doing plain old BS in CS. I will be a sophomore after this semester. I have an ambition to transfer my credits to some other school where I can take graphics and games programming courses. In my country the hype is now all about Computer Engineering. Few cares …

Member Avatar for Rashakil Fol
0
2K
Member Avatar for ze_viru$

hey, if u r interested u can check out the game I made in C. U can run it using a C++ compiler as well. Try to run it if u r using a DOS based compiler, otherwise dont bother. U can find it in code snippets "Projectile game in …

Member Avatar for ruwaiz1028
-3
3K
Member Avatar for stackOverflow

[QUOTE=sunnypalsingh]Blinking text in DOS, compiled with Turbo C [code] #include <conio.h> #include <stdio.h> int main() { int color; textattr(128 + 10); cprintf("This is blinking text\n"); return 0; }[/code][/QUOTE] Nice copy from the web ;)

Member Avatar for Nick Evan
-1
975
Member Avatar for Fasola

[QUOTE=Narue]>LOL, since when did you became a man Narue no good programmer could possibly be a girl. :rolleyes:[/QUOTE] Yup, I have seen only you and Kathy Sierra( author of Head First Java) :D

Member Avatar for A.Rehman Amjad
0
1K
Member Avatar for boblusby

U didn't mention which stage?? If it is the very first stage then: U have to kill the first guard and put on his clothes. The second guard over the gate wont recognize u and will unlock the gate. As simple as that. It's better to get a walkthrough from …

Member Avatar for Ezzaral
0
189
Member Avatar for LEEEEE

Well i have used devC++ but i have found it quite slow(since it's free it wont hurt to try though). If u are itching to spend money u can get any other better commercial compiler. But here's how i do my job, 1. I have downloaded the free-command-line compiler from …

Member Avatar for WaltP
0
208
Member Avatar for cybergirl

Try the C++ primer plus ---by Stephen Prata. It's ideal for beginners. It's not me who says it. Look at the reviews in amazon.com on this book. It's really quite a hit.

Member Avatar for codename09
0
1K
Member Avatar for Asif_NSU

i had some experience with 3ds max. But I was so busy for the last 3 months with C++ that now I think i forgot everything. I searched in google for tutorials but there are thousands of them and most importantly disorganised. Now i want to learn fast and only …

Member Avatar for dineshnilanka
0
163
Member Avatar for Asif_NSU

I was looking for an SDK to learn a bit about fingerprint identification system. I have googled a lot and found many different SDKs. However none of them were free. I dont want to implement any commercial system, just want to work with an SDK for educational purpose. Do you …

Member Avatar for devmakwana
1
2K
Member Avatar for Narue
Member Avatar for Matt Labbé
1
1K
Member Avatar for Asif_NSU

It's a game where u shoot from a cannon and the cannon-ball moves like a projectile and hits a target. So u will see three major things in this program: 1. Rotating a cannon; 2. How to move an object like a projectile 3. A very simple collision detection Before …

Member Avatar for neelam_209
0
3K
Member Avatar for Tejas

by the way I am also interested in computing this series, but i want to do it using a recursive function. Can anyone help me out?

Member Avatar for WaltP
1
230