DIGIT-ARC read-only archive · snapshot: July 23, 2026

New Programming Section

31 posts · originally from https://geek.digit.in/community/threads/new-programming-section.71494/

azzu
azzu Original post #1
Oct 25, 2007 at 12:47 PM
looks like we got a new section in digit forum
so all the programming guys yell
start ur programming tut's :D
shady_inc
Oct 25, 2007 at 12:54 PM
Really nice to have a separate programming section.Keep it up.!!
Gigacore
Oct 25, 2007 at 12:58 PM
Re: Woohoo!!First one to post here!!!

wow first to reply here :D
azzu
azzu #4
Oct 25, 2007 at 12:59 PM
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
QwertyManiac
Oct 25, 2007 at 1:04 PM
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 :p

Quick, create a sticky on battle of the languages :p
[xubz]
[xubz] #6
Oct 25, 2007 at 1:09 PM
Re: Woohoo!!First one to post here!!!

PHP:
<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 :D
Gigacore
Oct 25, 2007 at 1:10 PM
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?
QwertyManiac
Oct 25, 2007 at 1:12 PM
Re: Woohoo!!First one to post here!!!

Cool, syntax highlighting! :))
Gigacore
Oct 25, 2007 at 1:14 PM
Re: Woohoo!!First one to post here!!!

lol my thread is moved here and is the first sticky thread in this section
Asfaq
Asfaq #10
Oct 25, 2007 at 1:15 PM
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 :)
harryneopotter
Oct 25, 2007 at 1:23 PM
Re: Woohoo!!First one to post here!!!

great step taken ............ it was much awaited .
Gigacore
Gigacore #12
Oct 25, 2007 at 1:31 PM
Re: New section ??

thanks for moving my C Program thread asfaq bro :)
QwertyManiac
Oct 25, 2007 at 1:40 PM
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. :)
QwertyManiac
Oct 25, 2007 at 1:48 PM
Re: New section ??

C puzzles *www.thinkdigit.com/forum/showthread.php?t=70697
Lesser known facts in C *www.thinkdigit.com/forum/showthread.php?t=71047
Some random Java query *www.thinkdigit.com/forum/showthread.php?t=70834
Real power of C *www.thinkdigit.com/forum/showthread.php?t=69321
TSR in C *www.thinkdigit.com/forum/showthread.php?t=69231

People can add more to this list and submit to Asfaq when it's >= 10 ;)
Asfaq
Asfaq #15
Oct 25, 2007 at 1:55 PM
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.
Ankur Gupta
Oct 25, 2007 at 2:15 PM
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..
drgrudge
drgrudge #17
Oct 25, 2007 at 4:35 PM
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

Ankur Gupta said:
Thanx a lot admins for having a dedicated section...
Thank mehulved. :D
azzu
azzu #18
Oct 25, 2007 at 4:37 PM
so mine is the First post :D
RCuber
RCuber #19
Oct 25, 2007 at 4:48 PM
Greate Section .. I just Love it :D ..
QwertyManiac
Oct 25, 2007 at 6:35 PM
O noes mai code entared tha rongg sectaan :p

Thanks a ton Mehulved :)
RCuber
RCuber #21
Oct 25, 2007 at 6:36 PM
why does this thread say nothing about the replies, views or the last posted date?

EDIT: How did this get into chit chat :confused:
a_k_s_h_a_y
Oct 25, 2007 at 6:59 PM
i think this is asfaq's deepavali gift....
i don't think raaboo would have done this.... acts very busy...
drgrudge
drgrudge #23
Oct 25, 2007 at 7:30 PM
Charan said:
why does this thread say nothing about the replies, views or the last posted date?

EDIT: How did this get into chit chat :confused:
Because the dictator mod (yeah me; Raaabo-drgrudge are dictators) merged and moved the thread here. :twisted:
Ron
Ron #24
Oct 26, 2007 at 11:46 AM
*www.thinkdigit.com/forum/showthread.php?t=68516
*www.thinkdigit.com/forum/showthread.php?t=65520
*www.thinkdigit.com/forum/showthread.php?t=45411
*www.thinkdigit.com/forum/showthread.php?t=52597
*www.thinkdigit.com/forum/showthread.php?t=65039
fun2sh
fun2sh #25
Oct 26, 2007 at 8:23 PM
yeeeeeepeeeeeeeeeeeeeeeeeee!!!!!!!
i didnt took notice until now.
NOW MY FAV FORUM TURNED INTO FAV PROGRAMIN FORUM :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen:
Hustlerr
Hustlerr #26
Oct 26, 2007 at 8:57 PM
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 ?
QwertyManiac
Oct 26, 2007 at 9:39 PM
clrscr() should come after declarations, in case you're using Turbo C/C++.
The_Devil_Himself
Oct 26, 2007 at 9:57 PM
^^yep.
put clrscr in the end of program before getch().
gaurav_indian
Oct 26, 2007 at 10:08 PM
Bhai hum graphics walon ke liye bhi dukaan lagao i mean separate forum introduce karo warna main na :mad: dobara request karunga aur kya.:sad:
S
Oct 26, 2007 at 10:13 PM
itni dukane kholenge to pichli bar ki tarhe seal kar denge MCD wale.
gaurav_indian
Oct 26, 2007 at 10:14 PM
abtom said:
itni dukane kholenge to pichli bar ki tarhe seal kar denge MCD wale.
abey dhakkan 1 saal tak no sealing govt ka order hai.