English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Programming & Design - March 2007

[Selected]: All categories Computers & Internet Programming & Design

can somone gave me a program(source code) in turbo c that implements the stack, how to use stack and its operations...

2007-03-03 23:07:11 · 3 answers · asked by jan 1

Can we add HTML tag in PHP websites?

2007-03-03 22:47:37 · 4 answers · asked by Anonymous

The program was supposed to close after the user chose 'save and exit' but it goes to 'browse' after the data was saved. Here's the code of my 'main()' and 'saverecords()'

void SaveRecords()
{
FILE *fp;
int ctr;
ctr = 0;
fp = fopen("data.dat", "w");
for (ctr = 0; ctr < count+1; ctr++)
{
fprintf(fp, "%s ", whois[ctr].name);
fprintf(fp, "%s ", whois[ctr].id_no);
fprintf(fp, "%s ", whois[ctr].course);
fprintf(fp, "%s ", whois[ctr].year);
}
fclose(fp);
}

main()
{
int choice, a;
again:
clrscr();
printf("\n Menu:");
printf("\n [1] Load Record");
printf("\n [2] Add");
printf("\n [3] Browse");
printf("\n [4] Change");
printf("\n [5] Delete");
printf("\n [6] Save and Exit");
printf("\n\n choice: ");
choice=getch();
switch(choice)
{
case '1':
showmenu();
break;

case '2':
add();
break;

case '3':
browse();
break;

..etc..

case '6':
SaveRecords();
break;

default:
printf("\n\n\n Invalid Choice!!! Try again...");
getch();
goto again;
}
return 0;
}

I hope you guys could help me out with this.

2007-03-03 22:40:20 · 3 answers · asked by Lhanz 1

2007-03-03 21:31:48 · 1 answers · asked by hector 1

i run a windows os Xp home edition sp2
When ever i open up notepad and type in

Shutdown -s

then save it as a .bat file it just flicks open a command prompt window and does nothing. How can i resolve this problem??

2007-03-03 21:29:55 · 2 answers · asked by Anonymous

commment about computers!!!!

2007-03-03 20:30:01 · 4 answers · asked by christian q 1

0

2007-03-03 20:08:34 · 7 answers · asked by jack 1

For lyk myspace there so cool!!!!!!!!!!!!please help!

2007-03-03 19:48:56 · 3 answers · asked by meh. 4

I am a pre-final year Computer science student....I need to know where i can get help to do a project ..... I need some problem definitions / abstracts from which i can start ..
Interested in VB,Oracle,Java(a little)......related stuffs....

2007-03-03 19:11:09 · 3 answers · asked by dhandapani d 1

I want to develop my flash,fireworks and dreamweaver skills
do you know which website is good for develop my skills
Thanks

2007-03-03 18:54:12 · 1 answers · asked by PhotoARTist 3

Can someone help me with this question?

Sales Bar Chart

Write a program that asks user to enter today’s sales for five stores. The program should then display a bar graph comparing each store’s sales. Create each bar in the bar graph by displaying a row of asterisks. Each asterisk should represent $100 of sales.

Here is an example of the program’s output.

Enter today’s sales for store 1: 1000 [Enter]
Enter today’s sales for store 2: 1200 [Enter]
Enter today’s sales for store 3: 1800 [Enter]
Enter today’s sales for store 4: 800 [Enter]
Enter today’s sales for store 5: 1900 [Enter]

SALES BAR CHART
(Each * = $100)
Store 1: **********
Store 2: ************
Store 3: ******************
Store 4: ********
Store 5: *******************

2007-03-03 18:51:56 · 4 answers · asked by Nishimura Aina 1

hi ,
i have 8 combobox.with the name of cbojan,cbofeb to cboaug

all these comboboxes are populated with the numbers from 1 to 31.

i made a change to each of the combobox and stored the values.
the values got stored in the database. while retrieving the values from the db it also got the datas correctly.

but when displaying the values the combobox got messed up.
what i gave in cboaug was populated in all other comboboxes.
but it gets the values correctly from the db but when displaying it got messed up.

how to fix this problem

this is done in vb.net,

please send the result as soon as possible

thank you

2007-03-03 18:15:34 · 1 answers · asked by george 4

I need to use Java and prolog for a project. The java code will output a string and prolog needs to do some processing on that string. So how do I pipe Java's output into prolog's input? (And then prolog's output must go into another program but that's another story...)

2007-03-03 18:11:20 · 4 answers · asked by Anonymous

plizz i want a few fun and cool java scripts which i can cut and past in to the url bar and see magic
example of one is this

javascript: i=0; c=["red","green","blue","yellow","magenta","orange","black","white"]; a=document.links;setInterval('i++;a[i % document.links.length].style.color=c[i % c.length]',10);void(0); alert("'WISH U A HAPPY AND COLORFUL HOLI,'\n JENNY ");

this is one i got from a frnd so plizz i need some cool n funny ones plizz

2007-03-03 18:09:19 · 2 answers · asked by justme_rai 1

related questions are all over the place, but I haven't seen this one yet (anywhere on the web for that matter): How do you know when a code segment has a time complexity of O(logn)? What's the difference between O(logn) and O(nlogn)? What kinds of code segments have these types of time complexities?

the only thing i could figure out about this damn topic is that O(nlogn) is slightly less efficient than O(n), and O(logn) is a lot more efficient than O(n). Also the sorting method (called quicksort by some) has a time complexity of O(logn). The only problems is I have no damn clue how or why this is...

2007-03-03 17:35:36 · 4 answers · asked by drsquearl 2

Hi I am trying to make a popup box, but instead of asking for their name I would like to ask for a password, and to send that value to php so that I may check it. And if incorrect, it'll pop up an alert box. Can anyone help?

2007-03-03 16:57:46 · 2 answers · asked by only4u 1

It keeps saying the error is on line 7 buti dont know whats wrong with it.



My Movie Site


define(“FAVMOVIE”, “The Life of Brian”);
echo “My favorite movie is “;
echo FAVMOVIE;

?>

2007-03-03 16:08:46 · 3 answers · asked by ant_rite 2

i used floodfill to fill circle with color, instead, it filled the whole screen. someone said i must thicken the borders of the circle but how? thanks.. if you may, please type in the parameter as well, thakns agen...

2007-03-03 13:37:35 · 1 answers · asked by Anonymous

as a beginner

2007-03-03 13:29:37 · 3 answers · asked by geoff w 1

I can't download it from adobe, it's not letting me. Something about cookies, I fixed that and it's still not working so I can't do that. Is there anywhere I can download it for free?

2007-03-03 13:12:08 · 13 answers · asked by your wonderwall 5

Hi! I need to return the last record in a simple table in MS Access. I have a form that's pulling certain values from the table, and I need it to get the physically last record.
Is there a function for that?

2007-03-03 12:59:09 · 4 answers · asked by Anonymous

ok so i made some graphics and layouts how do I put the codes for them in a scroll box so others can use them if you can thanx please!!!!


~Amanda~

2007-03-03 12:53:25 · 2 answers · asked by JoeJsGrl90 1

I am using Frontpage...how can I get my host to open frontpage extensions, or to use another ftp...how do I do it?

2007-03-03 12:33:18 · 3 answers · asked by s K 2

I want to create a table on my website with the top row of cells angled 45 degrees and the text angled as well to serve as headers

2007-03-03 12:16:48 · 1 answers · asked by heavnbound911 1

please teach me how n the software which can i use 2...
(free 1)

2007-03-03 12:07:46 · 1 answers · asked by tang 4

ive been makin vids with my digital camera but i want a video editor that can make the video do effects such as slow motion and vioce changer.....even if its just a trial i would appreciate some suggestions...thanks:)

2007-03-03 12:07:36 · 3 answers · asked by Miranda™ 2

I am planning to make a website for a school project. What software is available for making websites. I'm not looking for a free website builder, I'm looking for one that looks nice and is not too limited. Also, what do I have to do to start a website? Whats a domain name and do I have to buy it?

2007-03-03 11:58:47 · 6 answers · asked by Aubrey 2

fedest.com, questions and answers