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
~163.65K People Reached
About Me

full-time student

Interests
computer games, softwares etc.
Favorite Tags

147 Posted Topics

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
818
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
438
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
632
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
792
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
215
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
921
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
199
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
995
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
191
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
214
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
166
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
237
Member Avatar for Asif_NSU

I was trying to get familiar with some digital circuit simulation softwares but i dont know which one to start with. I wanted to know if anyone could advise me a digital simulation software that is used by the professionals in the industry.

Member Avatar for ronjustincase
0
173
Member Avatar for jessiemcmillan

Well i dont like the idea of shitting in the bowl from which I take my food. Microsoft is an everyday part of my life and it's because of them old grannies, grandpas, little nickies can actually do something with the mystery thing named "computer".

Member Avatar for Zappaboss
-1
359
Member Avatar for nicoletonyf

use cin.get() at the end of ur program [CODE]#include<iostream> using namespace std; int main() { //your code here [COLOR=Red] cin.get(); [/COLOR] return 0; } [/CODE] If this still doesnt work use cin.get() twice [CODE]#include<iostream> using namespace std; int main() { //your code here [COLOR=Red] cin.get(); cin.get();[/COLOR] return 0; }[/CODE] There …

Member Avatar for Ancient Dragon
0
379
Member Avatar for Dani

[QUOTE=inscissor]I was just looking over this thread and I still think computer science sucks.[/QUOTE] It seems like Popeye hates Spinach. Incissor, Define Computer Science the way u know it/think it is------will you?:rolleyes: Make that short (2/3 lines at best).

Member Avatar for aves
0
495
Member Avatar for server_crash

I ran the code. It gives error only when you try to delete the file when it is not closed. As ancient dragon mentioned you need to close the file like fin.close() before trying to remove it. I ran your code with fin.close() added and both the remove() and system("del …

Member Avatar for Salem
0
249
Member Avatar for brainchief
Member Avatar for Asif_NSU

I [B]HAD[/B] three partitions of my hard disk - C, D and E. My OS was Win98se. Then My brother installed Red Hat Linux in the E drive. From then everytime the pc started there were options to choose whether to start with win98se or RedHat linux. I could only …

Member Avatar for vigneshvh
0
134
Member Avatar for Asif_NSU

i have this assignment to compute the factorial of an integer of any length. I have done it using array of char and then overloading the * operator accordingly. It works fine but i wanted to know if there were other efficient algorithms for counting factorials of any length. Give …

Member Avatar for roxanne_gem07
0
279
Member Avatar for Asif_NSU

Everyone, have a look at(if u want to) the flash movie in the follwing page: [URL=http://www.newgrounds.com/portal/view/176283]http://www.newgrounds.com/portal/view/176283[/URL] And let me know how u feel... I got some serious issue with this one.

Member Avatar for lasher511
0
128
Member Avatar for Catweazle

[IMG]http://members.aol.com/ercgalleria/images/bbuldotl.jpg[/IMG] "Terrible"

Member Avatar for paramasivan
0
3K
Member Avatar for nanosani
Member Avatar for Asif_NSU

I have realized that I should start learning some scripting language from now on. So where do I start? Perl, PHP, asp, javascript etc. I mean which language would be better to start with?

Member Avatar for pty
0
220
Member Avatar for Asif_NSU

I dont get it. There's a guy in this forum who had been helping me out a lot, but i just cant add to his reputation bcos of this message "U have to spread ur reputation point before giving it again to *****" Then I added points to two other's …

Member Avatar for WaltP
0
186
Member Avatar for peter_budo

The type of terrorism the world is facing today can not be eradicated by means of arms and forces. To my understanding this is a propaganda war rooted deep with in Islamic extremism. It can only be won with arguments. You might be wondering how can you even reason with …

Member Avatar for server_crash
1
1K
Member Avatar for Asif_NSU

The following code finds the square root of a number, it runs fine unless you compile with MinGW gcc: [code] #include<stdio.h> #include<stdlib.h> int main(void) { double x0,x1,a; int i; x1 = 1; x0 = 0; printf("\nFind square root of: "); scanf("%lf",&a); for(i = 0; x0 != x1; ++i) { x0 …

Member Avatar for Asif_NSU
1
1K
Member Avatar for Asif_NSU

I am kind of confused about how DestroyWindow() works. According to the help files this function sends a WM_DESTROY message to the window it has just removed from the screen. In my [inlinecode]WindowProc[/inlinecode] I have something like the following: [CODE] case WM_CLOSE: { DestroyWindow(hwnd); return 0; } case WM_DESTROY: { …

Member Avatar for WolfPack
1
741
Member Avatar for Asif_NSU

I am trying to access files in a folder. The folder name and location will be given - the program will search inside the files in that folder for a specific pattern(yup like grep). However, I am not sure how to actually let my program know what are the files …

Member Avatar for Ancient Dragon
1
263
Member Avatar for Asif_NSU

Hi I am into my Database course. I have proposed to develop a criminal record database as the project. If anyone have worked on such a project before or know a few things about it please do share it with me. Currently I am trying to design the schema for …

Member Avatar for Asif_NSU
0
137
Member Avatar for Asif_NSU

Few days ago I had installed the latest driver for my sound-card (Creative VIBRA 128). From then on my WMP 7.1 is not producing any sound. I can see the videos but there's no sound. But my winamp, DivX player and quicktime are working fine. Then I uninstalled WMP 7.1 …

Member Avatar for DMR
0
312
Member Avatar for beuls
Member Avatar for beuls
0
225

The End.