 |
|
25-10-2007, 12:47 PM
|
#1 (permalink)
|
|
AJJU
Join Date: Aug 2006
Location: hYdErAbAd
Posts: 2,427
|
New Programming Section
looks like we got a new section in digit forum
so all the programming guys yell
start ur programming tut's
__________________
I love and Live to Design
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
25-10-2007, 12:54 PM
|
#2 (permalink)
|
|
Pee into the Wind...
Join Date: May 2007
Location: Mumbai
Posts: 782
|
New Programming Section
Really nice to have a separate programming section.Keep it up.!!
__________________
Life is as complicated as you say it is.
|
|
|
25-10-2007, 12:58 PM
|
#3 (permalink)
|
|
Dreamweaver
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
|
Re: Woohoo!!First one to post here!!!
wow first to reply here
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore
Follow me on twitter.com/gigacore
|
|
|
25-10-2007, 12:59 PM
|
#4 (permalink)
|
|
AJJU
Join Date: Aug 2006
Location: hYdErAbAd
Posts: 2,427
|
Re: Woohoo!!First one to post here!!!
i also wanted to start the first thread here but thought mod's will take it seriously so started thread in CHIT CHAT (check it)
yup start ur programming tut's guys
show ur skill's
wew
__________________
I love and Live to Design
|
|
|
25-10-2007, 01:04 PM
|
#5 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: Woohoo!!First one to post here!!!
Aww bad, you should've inaugurated it with a "Hello World"
Let me do the honors.
C
Code:
#include<stdio.h>
int main()
{
printf("Hello World");
return 0;
}
C++
Code:
#include<iostream>
using namespace std;
int main()
{
cout<<"Hello World";
return 0;
}
Java
Code:
class hello
{
public static void main(String args[])
{
System.out.println("Hello World");
}
}
Python
Code:
print 'Hello World'
That's all folks
Heh, purpose was to show which one is the lengthiest
Quick, create a sticky on battle of the languages
Last edited by QwertyManiac; 25-10-2007 at 01:13 PM.
|
|
|
25-10-2007, 01:09 PM
|
#6 (permalink)
|
|
"The Cake is a Lie!!"
Join Date: Oct 2006
Posts: 471
|
Re: Woohoo!!First one to post here!!!
PHP Code:
<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <input type="text" name="name" /> <input type="submit" /> </form> <?php if (isset($_POST['name']) && $_POST['name'] != "") { echo "Hello " + $_POST['name'] + "! Welcome to Digit's Programming Section!"; } ?>
The First PHP Code
__________________
[xubz] ● http://xubz.com/
[steam_id] ● http://steamcommunity.com/id/xubz
|
|
|
25-10-2007, 01:10 PM
|
#7 (permalink)
|
|
Dreamweaver
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
|
Re: Woohoo!!First one to post here!!!
^ lol, awesome. . . dont you think my thread 'post ur c/c++ here' should be moved from tutorials to here and make it sticky?
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore
Follow me on twitter.com/gigacore
|
|
|
25-10-2007, 01:12 PM
|
#8 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: Woohoo!!First one to post here!!!
Cool, syntax highlighting!
|
|
|
25-10-2007, 01:14 PM
|
#9 (permalink)
|
|
Dreamweaver
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
|
Re: Woohoo!!First one to post here!!!
lol my thread is moved here and is the first sticky thread in this section
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore
Follow me on twitter.com/gigacore
|
|
|
25-10-2007, 01:15 PM
|
#10 (permalink)
|
|
Keyboard addict
Join Date: Feb 2007
Location: Bombay, India
Posts: 85
|
Re: New section ??
yep, also plz notify us of the threads that need to be moved into the programming section, you can send us a pm once you have identified 10 such threads... getting one pm for each thread would be a total pain i guess.
have fun ppl
__________________
Not admin anymore, plz send all admin related queries to Raaabo or Fatbeing.
|
|
|
25-10-2007, 01:23 PM
|
#11 (permalink)
|
|
Wise Old Owl
Join Date: Feb 2007
Posts: 1,009
|
Re: Woohoo!!First one to post here!!!
great step taken ............ it was much awaited .
|
|
|
25-10-2007, 01:31 PM
|
#12 (permalink)
|
|
Dreamweaver
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
|
Re: New section ??
thanks for moving my C Program thread asfaq bro
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore
Follow me on twitter.com/gigacore
|
|
|
25-10-2007, 01:40 PM
|
#13 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: Woohoo!!First one to post here!!!
I got a doubt ... Why are all threads coming up as "All Queries Here", heh. Its a full blown section, hope people don't force others to post only under these kind of threads.
|
|
|
25-10-2007, 01:48 PM
|
#14 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: New section ??
|
|
|
25-10-2007, 01:55 PM
|
#15 (permalink)
|
|
Keyboard addict
Join Date: Feb 2007
Location: Bombay, India
Posts: 85
|
Re: New section ??
ah! this will make a busy few days i guess... rather than pm'ing me, you can post all the thread URL's here and i'll move em to programming. That way, we wont flood the PM system too and other mods can chip in too.
__________________
Not admin anymore, plz send all admin related queries to Raaabo or Fatbeing.
|
|
|
25-10-2007, 02:15 PM
|
#16 (permalink)
|
|
Wandering in time...
Join Date: Nov 2004
Location: Delhi,India
Posts: 1,293
|
Re: New section ??
Thanx a lot admins for having a dedicated section...
A lot(almost 90%) of members are college/school guys so its a real boon for them..
__________________
Integrate Yourself With The Latest Happenings.....
www.ankur-gupta.com/blog
|
|
|
25-10-2007, 04:35 PM
|
#17 (permalink)
|
|
Another Brick in the Wall
Join Date: Jul 2004
Location: Dubai/Chennai
Posts: 3,027
|
Re: New section ??
Haha.. we have "Woohoo!!First one to post here!!!", "Post your [enter something here] queries here" already. Merging one thread posted in here.
Post threads that should be in that section. I'll (and other mods) will move them as and when we find time.
Thread Merged
Quote:
|
Originally Posted by Ankur Gupta
Thanx a lot admins for having a dedicated section...
|
Thank mehulved.
__________________
I Love Photography. I Love Aperture. I Love Mac.
Last edited by drgrudge; 25-10-2007 at 04:35 PM.
Reason: Automerged Doublepost
|
|
|
25-10-2007, 04:37 PM
|
#18 (permalink)
|
|
AJJU
Join Date: Aug 2006
Location: hYdErAbAd
Posts: 2,427
|
Re: New Programming Section
so mine is the First post
__________________
I love and Live to Design
|
|
|
25-10-2007, 04:48 PM
|
#19 (permalink)
|
|
Rubik's Uncle!!
Join Date: Sep 2004
Location: ಬೆಂಗಳೂರು (Bengaluru)
Posts: 3,781
|
Re: New Programming Section
Greate Section .. I just Love it  ..
|
|
|
25-10-2007, 06:35 PM
|
#20 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: New Programming Section
O noes mai code entared tha rongg sectaan
Thanks a ton Mehulved
|
|
|
25-10-2007, 06:36 PM
|
#21 (permalink)
|
|
Rubik's Uncle!!
Join Date: Sep 2004
Location: ಬೆಂಗಳೂರು (Bengaluru)
Posts: 3,781
|
Re: New Programming Section
why does this thread say nothing about the replies, views or the last posted date?
EDIT: How did this get into chit chat
Last edited by Charan; 25-10-2007 at 06:41 PM.
|
|
|
25-10-2007, 06:59 PM
|
#22 (permalink)
|
|
Wise Old Owl
Join Date: May 2007
Location: bangalore
Posts: 1,921
|
Re: New Programming Section
i think this is asfaq's deepavali gift....
i don't think raaboo would have done this.... acts very busy...
__________________
Sony Ericsson Flashing, Modding, Patching, Hacking And More !
http://www.akshayy.com/sonyericsson/
|
|
|
25-10-2007, 07:30 PM
|
#23 (permalink)
|
|
Another Brick in the Wall
Join Date: Jul 2004
Location: Dubai/Chennai
Posts: 3,027
|
Re: New Programming Section
Quote:
|
Originally Posted by Charan
why does this thread say nothing about the replies, views or the last posted date?
EDIT: How did this get into chit chat 
|
Because the dictator mod (yeah me; Raaabo-drgrudge are dictators) merged and moved the thread here.
__________________
I Love Photography. I Love Aperture. I Love Mac.
|
|
|
26-10-2007, 11:46 AM
|
#24 (permalink)
|
|
||uLtiMaTE WinNER||
Join Date: Nov 2006
Location: Kathmandu,Nepal
Posts: 698
|
Re: New Programming Section
__________________
||uLtiMaTE WinNER||
Last edited by Ron; 26-10-2007 at 11:53 AM.
|
|
|
26-10-2007, 08:23 PM
|
#25 (permalink)
|
|
Pawned!... Beyond GODLIKE
Join Date: May 2006
Location: World Of Warcraft -DOTA
Posts: 1,051
|
Re: New Programming Section
__________________
If God has indeed created Himself in His own image, then I submit to you that God is a cockroach :mrgreen:!!!!!!!!
|
|
|
26-10-2007, 08:57 PM
|
#26 (permalink)
|
|
[Next-Gen]
Join Date: Dec 2006
Location: New Delhi
Posts: 428
|
Re: New Programming Section
I need C program which can execute programs on P4,1 GB Ram, Intel 865g motherboard.
I tried some C programs but they sometimes execute and sometimes don't.
And i m getting problem in this Program
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a,b,c;
float d;
printf("PROGRAM a*b/c");
printf("\nEnter value of a:");
scanf("%d",&a);
printf("Enter the value of b:");
scanf("%d",&b);
printf("Enter the value of c");
scanf("%d",&c);
d= a*b/c;
printf("The value of d is: %f",d);
getch();
}
but the error is cming Declaration is not allowed - highlighting int a,b,c
and float d;
Will any1 tell me whats wrong in it ?
__________________
i5 2500K | P8Z68-V Pro | G Skill 8 GB 1600 | MSI R6950 Power Edition | Seagate 1.5 TB | Dell ST2220L | Logitech MX518 n K200 | Cooler Master Elite 401 | Corsair TX 650 | Windows 7 x64 :wink::oops:
|
|
|
26-10-2007, 09:39 PM
|
#27 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: New Programming Section
clrscr() should come after declarations, in case you're using Turbo C/C++.
|
|
|
26-10-2007, 09:57 PM
|
#28 (permalink)
|
|
die blizzard die! D3?
Join Date: Aug 2007
Location: Event horizon
Posts: 2,361
|
Re: New Programming Section
^^yep.
put clrscr in the end of program before getch().
__________________
Stealing your women and horses since 1843.
|
|
|
26-10-2007, 10:08 PM
|
#29 (permalink)
|
|
CG Artist
Join Date: May 2006
Location: New Delhi,India
Posts: 1,462
|
Re: New Programming Section
Bhai hum graphics walon ke liye bhi dukaan lagao i mean separate forum introduce karo warna main na  dobara request karunga aur kya.
|
|
|
26-10-2007, 10:13 PM
|
#30 (permalink)
|
|
...
Join Date: Sep 2007
Posts: 3,795
|
Re: New Programming Section
itni dukane kholenge to pichli bar ki tarhe seal kar denge MCD wale.
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|