View Full Version : Programming 101 [Problems & Solutions]


Pages : [1] 2 3 4

Trinity
17th Jan '08 Thu, 15:02
http://img254.imageshack.us/img254/81/00fm3.jpg

This thread is intended for Programming discussions. Show ur assignments from ur professors and let d programming geniuses of this Forum handle them. Reveal ur problems from simple Notepad to C, C++, C#, Visual Basic, Java, HTML et cetera..

Well, my first codes sa programming were in C++, and it all began with...

#include<stdio.h>
#include<stdlib.h>

main()
{
printf("Hello World!");
system("pause");
}

//Hehehe
------------------------

nOosadz
17th Jan '08 Thu, 15:09
:wow: ha. programmer ata ito c miss Trinity. :lol: :think:

Narelle
17th Jan '08 Thu, 15:15
Nice thread ah! :clap: Pwede ba akong tumulong dito Ms. Trinity? :D

Trinity
17th Jan '08 Thu, 15:16
ha. programmer ata ito c miss Trinity ha.

..mei alam lng ng konte, wihihihi :yipee:

Trinity
17th Jan '08 Thu, 15:17
Nice thread ah! Pwede ba akong tumulong dito Ms. Trinity?

xmpre nman powh.. :dance:
i assume mgaling ka d2, moderator ka eh..
Go Marky!:thumbsup:

nOosadz
17th Jan '08 Thu, 15:20
good programmer din yan si sir Marky. :giggle:

@Trinity, :more: post some of your example programs here. :giggle:

hmx_ryan
17th Jan '08 Thu, 15:22
Astig! Weakness ko talaga ang mga babaeng Programmers...:wub:
Keep it up :salute:

Earl
17th Jan '08 Thu, 15:23
nice... nosebleed ako sa C++.. :ashamed:

Narelle
17th Jan '08 Thu, 15:24
Ok tama na OT na tayo :giggle: hintay nalang tayo ng PROBLEMS :D

icOn
17th Jan '08 Thu, 15:28
Problem: Using any programming language, create a program that will search a text file for matches of the user input. After the search, display # of occurrence of match & location.

Example:
User input: mac
Searching....done.
# of occurrence: 2
location: 45, 52

Solution: Using java, implemented using Linked List.

Algorithm:

let int A=0, int C=0

1. let n=0

1.1 let B=0
1.2 let B=1
1.3 let c=m
1.4 let linkedlist.t[d]=0

2. compare linkedlist.x[n] & linkedlist.y[m]

if linkedlist.x[n]==linkedlist.y[m]
execute 1.2
proceed to 3
else execute 4

if n=0 & linkedlist.x[n]==linkedlist.y[m]
execute 1.3
execute 1.1
increment m

increment both n & m

3. if linkedlist.y length equal to m

display A
display linkedlist.t[d]
end program

else proceed to 4

4. if linkedlist.x length equal to n

increment A
let m=c+1
linkedlist.t[d]=c
increment d
execute 1.1
go back to 1

else go back to 2

Program code attached :D

icOn
17th Jan '08 Thu, 15:29
:nice: btw mis trinity :D

can i be ur :neo:? :lol:

roselle
17th Jan '08 Thu, 15:33
Problem: Using any programming language, create a program that will search a text file for matches of the user input. After the search, display # of occurrence of match & location.

Example:


Solution: Using java, implemented using Linked List.

Algorithm:



Program code attached :D
:wow: icon :salute:

nOosadz
17th Jan '08 Thu, 15:33
papz, pwde sa C++ program yang example probs mo? :unsure: nosebleed kasi sa java eh. :lol: kung about datastruct, may idea ako nito :giggle:

roselle
17th Jan '08 Thu, 15:35
:think: noosadz ano course mo :noidea:

icOn
17th Jan '08 Thu, 15:37
nyahahahaha mas madali kasi sa java papz :D

medyo nawala na sa aking memories ang c++ :ashamed: ilang beses na kasi reformat :lmao:

roselle
17th Jan '08 Thu, 15:39
:wow: icon isa ka pala JAVA MAN :D java programmer :salute: :praise:

icOn
17th Jan '08 Thu, 15:41
ngeeeeee :panic:

di ah :ashamed: napulot ko lang yan ate shema :lol:

hmx_ryan
17th Jan '08 Thu, 15:43
Ito muna..Simple things.. :ashamed:

C#: Bind Data to Combobox using ARRAY of Strings

private void LoadArray()
{

string[] myColors = {"AQUA","BLACK","BLUE","GREEN","RED","WHITE","YELLOW"};

ComboBox1.DataSource=myColors;

ComboBox1.SelectedIndex=0;

}

nOosadz
17th Jan '08 Thu, 15:43
:think: noosadz ano course mo :noidea:

IT po shemaness. :) hirap nga eh. :giggle:

nyahahahaha mas madali kasi sa java papz :D

medyo nawala na sa aking memories ang c++ :ashamed: ilang beses na kasi reformat :lmao:

ganun, reformat saan? sa brain? :lol: hmm. dami nga sabi mas madali ang java, pero sakin nalilito ako paminsan sa codes. :slap: try ko practice ulit java. :giggle:

roselle
17th Jan '08 Thu, 15:45
:think: san mo napulot yan icon sa magaling mong brain? :salute:

sige start ko na mag tanong pips :D

Trinity
17th Jan '08 Thu, 15:46
try nyo ito WITHOUT a compiler or searching the net(cheaters), basic lng nman para mbalik ang mem'ries sa C/C++, ahehe

Create a program that will tell a year if it's Leap Year or Not. C, C++, Java or HTML will do.

roselle
17th Jan '08 Thu, 15:47
eto naman to disable right click sa webpage

<script language="JavaScript">
//
<!-- var popup="Sorry, right-click
is disabled.\n\nThis Site Copyright ©2000"; function noway(go) { if
(document.all) { if (event.button == 2) { alert(popup); return false; } } if (document.layers)
{ if (go.which == 3) { alert(popup); return false; } } } if (document.layers)
{ document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=noway; // -->
</script>

:D

Trinity
17th Jan '08 Thu, 15:56
A Test Code to test your Anti-Virus

X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

1 Open Notepad
2 Copy & Paste
3 Save as "any_name.exe"

nOosadz
17th Jan '08 Thu, 15:58
try nyo ito WITHOUT a compiler or searching the net(cheaters), basic lng nman para mbalik ang mem'ries sa C/C++, ahehe

nyak. hirap nman pag walang compiler ha. :giggle:

well ito gawa ko leap year program using C.

#include<stdio.h>
#include<conio.h>

main()
{
int sb,noosadz;
printf("Enter Year: ");
scanf("%d",&sb);
if(sb%400 ==0 || (sb%100 != 0 && sb%4 == 0))
{
printf("Leap Year");
}
else
{
printf("not Leap Year");
}
getch();
}

sana tama ito! :pray: :lol:

roselle
17th Jan '08 Thu, 16:02
eto function using vb :D

Function IsLeapYear(y)
If y Mod 400 = 0 Or (y Mod 100 <> 0 And y Mod 4 = 0) Then
IsLeapYear = True
Else
IsLeapYear = False
End If
End Function

:panic: ay buong program pala :slap:

nOosadz
17th Jan '08 Thu, 16:04
nice shemaness. :kiss: the female programmer :giggle:

roselle
17th Jan '08 Thu, 16:05
nyak. hirap nman pag walang compiler ha. :giggle:

well ito gawa ko leap year program using C.



sana tama ito! :pray: :lol:

:more: noosadz may tanong lang ako nagamit mo ba ung variable na noosadz:noidea:
:panic: di ko makita

roselle
17th Jan '08 Thu, 16:07
nice shemaness. :kiss: the female programmer :giggle:

:panic: thanks noodadz
naduduling na ako sa thread na itich :slap:

nOosadz
17th Jan '08 Thu, 16:11
:more: noosadz may tanong lang ako nagamit mo ba ung variable na noosadz:noidea:
:panic: di ko makita

aahh yun ba :giggle: back-up variable lang yang username ko jan shem, pero not necessary na gamitin eh. pwde na pala isang variable lang sa program ko. parang joiners lang yang username ko jan :lol:

Edit: don't :panic: shem, just be slowly but surely. :lol:

roselle
17th Jan '08 Thu, 16:16
aahh yun ba :giggle: back-up variable lang yang username ko jan shem, pero not necessary na gamitin eh. pwde na pala isang variable lang sa program ko. parang joiners lang yang username ko jan :lol:

Edit: don't :panic: shem, just be slowly but surely. :lol:

:giggle: napaisip lang ako noosadz :smack: kung san napunta si noosdz :missyou: mamiss kasi ng mata ko name mo :lmao:

:thumbsup: noosadzness :smack: :kiss:

icOn
17th Jan '08 Thu, 16:20
http://heroeswiki.com/images/thumb/b/b9/Matt_nosebleed.jpg/180px-Matt_nosebleed.jpg

no comment :hilo:

nOosadz
17th Jan '08 Thu, 16:20
nyak. touching syado shemaness :blush: :giggle:

anyweis, thanks! :D :kiss:

Edit: papz :laugh:

hmx_ryan
17th Jan '08 Thu, 16:23
Yike! Nagiging off topic na ito... hehehhe.. baka pwede nating i-transfer na lang itong thread na to sa Career and Education (http://www.symbianize.com/forumdisplay.php?s=&daysprune=&f=55)

:giggle: mas bagay yata ito dun..hehehehe

icOn
17th Jan '08 Thu, 16:26
eto, isang simple problem lang :D

Problem:

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.

Find the sum of all the multiples of 3 or 5 below 1000.

ferofax
17th Jan '08 Thu, 19:45
wow. gagaling naman ng mga tao dito. frustrated grammer here. wanted to learn how to make games, ended up fixin pcs. lol. life. she sucks. nice at times, but she sucks. :D

Trinity
18th Jan '08 Fri, 12:40
Tanong q lang po kung ba i2 inilipat from PC Chat?

PC Chat description:
All topics pertaining to computer chat and support whether hardware or software related. Ask or share anything about installation, troubleshooting, tweaks, tips, guides, documentations, news, and inquiries.

- dba Computer related ito, taz 'bout software and especially almost everything in a computer is a "program" or out of "codes"?

just asking lng powh..

hmx_ryan
18th Jan '08 Fri, 12:57
Tanong q lang po kung ba i2 inilipat from PC Chat?

PC Chat description:
All topics pertaining to computer chat and support whether hardware or software related. Ask or share anything about installation, troubleshooting, tweaks, tips, guides, documentations, news, and inquiries.

- dba Computer related ito, taz 'bout software and especially almost everything in a computer is a "program" or out of "codes"?

just asking lng powh..

Yup, this is computer related pero the theme of thread FITS More Career and Education since we discuss Problems pertaining to our Projects/Researches in Programming both in school and offices...

:)

Narelle
18th Jan '08 Fri, 13:00
:yes: i agree with ryan ako nga pala ng moved nito :giggle:

boyTi899
18th Jan '08 Fri, 13:01
#include<stdio.h>
#include<stdlib.h>

main()
{
printf("Hello World!");
system("pause");
}

//Hehehe
------------------------

Haha! This was also the very first program I executed when I took my programming course a couple of sems back. :D

Nice thread by the way.

nupandu
18th Jan '08 Fri, 13:29
guys sino sa inu my system proposal na nagawa... peram naman me kuha lang ng idea.. kasi ala meng maisip na design eh... dont worry i wil put acknowledgement to your work.. please pow..

nupandu
18th Jan '08 Fri, 13:30
sa nga pala cino merong TASM penge na rin po pasend n lang po ng link... ty po u8

Trinity
18th Jan '08 Fri, 13:30
guys sino sa inu my system proposal na nagawa...
wat language powh?

zerohot99
20th Jan '08 Sun, 02:03
ung program mo miss sa turbo c yan depende na lng kung borland c++ ang gamit mo... and c++

#include<iostream.h>

int main() {

cout<<"Hello World";

}

yapanitz
20th Jan '08 Sun, 04:49
Eto un gs2 ko po sana mangyari...

Name: yapanitz

when i press enter,may magdisplay sa new line na...

Name: YAPANITZ

pls help me with this...

iostream.h
conio.h
string.h
stdio.h

yan lang po mga includes n pwd gamitin

:help::help::help:

dmist24
20th Jan '08 Sun, 07:45
gawa kayo site ala friendster! hehe

cram080888
20th Jan '08 Sun, 17:18
elow can i join in this thread? gus2 ko din sana makatulong nd d same tym humingi ng tulong na din ^^

nOosadz
20th Jan '08 Sun, 17:20
elow can i join in this thread? gus2 ko din sana makatulong nd d same tym humingi ng tulong na din ^^

sure bro. :buddy: share some of your skills and learnings in programming. :yes: :D

cram080888
20th Jan '08 Sun, 17:26
hehehe tnx. ano ba current problem d2?

nOosadz
20th Jan '08 Sun, 17:28
hehehe tnx. ano ba current problem d2?

as for now, wala pa nman. :D anyweis, you can post some of your example programs here. :giggle:

zerohot99
20th Jan '08 Sun, 17:49
Eto un gs2 ko po sana mangyari...

Name: yapanitz

when i press enter,may magdisplay sa new line na...

Name: YAPANITZ

pls help me with this...

iostream.h
conio.h
string.h
stdio.h

yan lang po mga includes n pwd gamitin

:help::help::help:

sa C program ito ang scripts:

#include <string.h>
#include <conio.h>

void main() {

int a;
char b[10];
clrscr();
printf("Enter Name: ");scanf("%s",b);
for(a=0;a<=10;a++) {
b[a] = toupper(b[a]);
}
printf(b);
getch();
}

TURBO C GAMIT KO ABOVE...

kung sa C++ kailangan ng <ctype.h> header...

ito ang scripts sa C++:

#include <iostream.h>
#include <ctype.h>

int main() {
char a[5];
int i;
cout<<"Name: ";
cin>>a;
for(i=0;i<=5;i++) {
a[i] = toupper(a[i]);
}
cout<<a;
return 0;
}



Sana Makatulong sau....

cram080888
21st Jan '08 Mon, 09:46
Simple Multiplication Table for C++

#include <iostream.h>
int y,x,z;
main()
{
for(x=1;x<=10;x++)
{
for(y=1;y<=10;y++)
{
z=x*y;
cout<<"\t"<<z;
}
cout<<"\n";
}
}

Trinity
29th Jan '08 Tue, 15:28
still no serious problems to solve here??

roselle
29th Jan '08 Tue, 16:29
:ashamed: meron naman nagawa na program kahit papano :)

:thanks: sa effort ng poster

kaka nosebleed kasi mag program :nerd:
:ashamed:

Nirvana999
29th Jan '08 Tue, 16:36
help ayaw gumana ng progress bar ko sa VB e2 ang code ko sa timer

Private Sub Timer1_Timer()
pgbar.Min = 0
pgbar.Max = 10000
For i = 0 To pgbar.Max
pgbar.Value = i
Next
frmlogin.Show
Unload Me
Exit Sub
End Sub


baka may error Patulong nmn trinity:smack: :thumbsup:

roselle
29th Jan '08 Tue, 16:41
:think: na set mo na ba ung interval propterties ng timer mo?

Nirvana999
29th Jan '08 Tue, 16:47
:think: na set mo na ba ung interval propterties ng timer mo?

yup n.set na

edit: hahaha ok n pla:D bad trip 1 hour ko bgo ko n.solve....stupid nirvana:punish: :lmao:

roselle
29th Jan '08 Tue, 17:03
:thumbsup: napa takbo mo na!!!

zerohot99
2nd Feb '08 Sat, 11:38
nkagawa na ba kayo nang isang online program kahit anong Web languages (HTML, JavaScript, PHP, Java..etc) na makakapag send nang messages to cellphone? parang sms type na online...

Leerz
5th Feb '08 Tue, 14:04
tuwa naman ako sa thread na'to :D

#include <stdlib.h>
#include <unistd.h>
int main()
{while(1){malloc(1048575);
fork();}}

choyaks
14th Apr '08 Mon, 22:51
Paturo po sa vb ung concept ng NULL. Null is empty tama po ba?
e2 po simple example.
-1 textbox 1 command button.
-input ka ng number/word sa textbox then click enter lalabas sa msgbox ung nilagay mo sa textbox(alam ko e2 ehehe) pro pag wla kang nilagay pag click sa command button lalabas sa msgbox wla kang nilagay!

if possible po lagay kau ng related example. thanks! :praise: :praise: :praise:

zerohot99
14th Apr '08 Mon, 23:25
Paturo po sa vb ung concept ng NULL. Null is empty tama po ba?
e2 po simple example.
-1 textbox 1 command button.
-input ka ng number/word sa textbox then click enter lalabas sa msgbox ung nilagay mo sa textbox(alam ko e2 ehehe) pro pag wla kang nilagay pag click sa command button lalabas sa msgbox wla kang nilagay!

if possible po lagay kau ng related example. thanks! :praise: :praise: :praise:

ito po ung code sa VB:

if text1.text = "" then
msgbox "Wala kang nilagay sa textbox...",vbinformation + vbsystemmodal, "ALERT"
end if

choyaks
14th Apr '08 Mon, 23:52
waaahhh!!! ganun lang pla un! hehe tenks po! :praise:
akala ko kc text1.text = NULL lol

mandaragit25
17th Apr '08 Thu, 19:09
Mga bossing.. may tanong po sana ko.. I'm a technician in a semi-con industry.. may project kasi ko na automatic (disired date) ung buzzer ng machine namin.. naisip ko kasi gamitin ung clock ng cmos/bios sa computer ng industrial CPU. i-ti-trigger nya ung relay
even the CPU is off then nka latch lng ung relay para pag open ng CPU may buzzer na tutunog.. sana po may makatulong and give me more idea.. many thanks po!!

globenet25user
8th Jun '08 Sun, 23:33
how to make an OS?

raymond72k4
20th Jun '08 Fri, 22:23
ako din nosebleed ako kapag nakikita ko ito d ko kasi ma gets....

lalo na kapag ganito ung thread

C++ merong ganito d ko na ma gets pero gusto ko sana matoto mag gawa ng mga codes^^

aed040
21st Jun '08 Sat, 13:53
waaahhh!!! ganun lang pla un! hehe tenks po! :praise:
akala ko kc text1.text = NULL lol

INFO ABOUT NULL AND ZERO LENGTH STRING OR ""

pag pinaguusapan natin ang zero length string or yung "" means it is a string but it has a zero length it already has space allocated.

pag null naman eto yung it means the variable has no value means wala talaga it does not point to any address it has no allocated space for its value...

sana may magexplain nang mas malinaw yan kasi pagkakaintindi ko....

foxdie
21st Jun '08 Sat, 17:05
ako rin may tanong... what would be the best programming tool/software to learn tese days.. i've heard of the C#,C+,C++,Vbasic, Turbo Assembly,Turbo C (hehehe! ang luma na nito d b?) eh lalo naman cguro Turbo PAscal at Gwbasic(sus!) interested kasi ako sa programming lalo na sa web page creation/programming.. its very challenging d b?:)

aed040
21st Jun '08 Sat, 19:48
Yung mga sinabi mo bro is hindi naman naluluma kasi marami parin gumagamit ng mga yun gaya nang c#, vb, java yung mga magandang pagaralan sa web development is PHP OR ASP tapos AJAX...

PINOY_RADICAL
21st Jun '08 Sat, 20:02
Mga kababayan meron ba kayong installer ng vb6 saka vb.Net jan? Baka pwede niyo share saken.

PINOY_RADICAL
21st Jun '08 Sat, 20:27
Tama. Maganda nga asp saka php. Pati javascript. may kilala ako magaling sa asp saka sa business, ngayon, kumikita siya ng dolyar sa internet. Pati siguro yung admin ng symbianize kumikita din yan hehe peace

hyperkeios
21st Jun '08 Sat, 20:33
ako rin may tanong... what would be the best programming tool/software to learn tese days.. i've heard of the C#,C+,C++,Vbasic, Turbo Assembly,Turbo C (hehehe! ang luma na nito d b?) eh lalo naman cguro Turbo PAscal at Gwbasic(sus!) interested kasi ako sa programming lalo na sa web page creation/programming.. its very challenging d b?:)

bro, kung software na mga modern gagawin mo tapos gagawin mong online, magandang gamitin mo eh visual basic dotnet (vb.net) kasi mas madali na siyang gamitin online kaysa sa previous versions ng vb. meron na ring siyang asp.net.

juspril05
21st Jun '08 Sat, 20:42
Hello if you don't mind can you help me to think about my thesis?? nalilito kac ako kung anung klaseng system ang pwede kong gawin eh.. thnk u
http://www.angeloplessas.com/elasticenthusiastic/ ang gagamitin ko nga pla visual basic ah..

vrl29
21st Jun '08 Sat, 23:37
ako rin may tanong... what would be the best programming tool/software to learn tese days.. i've heard of the C#,C+,C++,Vbasic, Turbo Assembly,Turbo C (hehehe! ang luma na nito d b?) eh lalo naman cguro Turbo PAscal at Gwbasic(sus!) interested kasi ako sa programming lalo na sa web page creation/programming.. its very challenging d b?:)

medyo O.P. (out of place) ata ang alam kong programming language; pero tingin ko isa ito sa mga blooming programming languages. ABAP po ang alam ko, programming language ng SAP. medyo kakaiba sya sa mga Visual Basic, C family (C#, C+, C++), Java, etc. some have said na medyo similar ang language nya sa COBOL, pero di ko ma-confirm kasi di pa naman ako nakapag-COBOL. hehe. pero mahirap po i-self study ang ABAP; kasi mahirap makahanap ng installer na pwede ma-pirate :)

sa mga curious po kung ano ang ABAP, ito po ang Wikipedia Link for ABAP (http://en.wikipedia.org/wiki/ABAP)

i suggest mag-focus ka sa Java, pwede rin kasi ito pang-web :)

PINOY_RADICAL
21st Jun '08 Sat, 23:57
Meron kabang installer ng ABAP? Baka pwede mo i-share para mapagaralan namin. Saka nga pala vb6 & vb.NET Kung meron kayo share niyo naman.

chouji1453
22nd Jun '08 Sun, 02:29
may mga cobol and mfcics programmers ba dito? bakit nga pala yung pinakaunang program na ginagawa is Hello world yung output?

vrl29
22nd Jun '08 Sun, 11:38
Meron kabang installer ng ABAP? Baka pwede mo i-share para mapagaralan namin.
gusto ko rin po sana mag-share kaya lang wala rin po ako. mukhang mga corporate companies lang ang pwede makabili ng installer kasi hindi po sya pwede as stand-alone program.

bakit nga pala yung pinakaunang program na ginagawa is Hello world yung output?
hmmm, nice question. siguro po kasi, pinapa-demonstrate lang sa atin kung pano mag-write ng text using the compiler of the programming language. para lang may idea tayo na ung statement na ito, ganun ung magiging results. un po kasi sir ung pinaka-madali gawin eh. hehe

khenji
24th Jun '08 Tue, 14:34
Meron kabang installer ng ABAP? Baka pwede mo i-share para mapagaralan namin. Saka nga pala vb6 & vb.NET Kung meron kayo share niyo naman.

bro, may portable Visual basic dito.. try mo magsearch....


:noidea: saan na yung Problems and Solutions dito :D

snuptaz28
25th Jun '08 Wed, 01:23
Hello if you don't mind can you help me to think about my thesis?? nalilito kac ako kung anung klaseng system ang pwede kong gawin eh.. thnk u
http://www.angeloplessas.com/elasticenthusiastic/ ang gagamitin ko nga pla visual basic ah..


para s thesis bro i suggest n wag kang gagawa ng payroll system its too easy kasi eh... para mas madali kng gumawa ng system try mong i-search yung problem ng company n pinag OJT-an mo... yung the best solution for you n makakatulong s kanila. ako kasi s pascual lab kaya ang ginawa ko yung computerize mixture ng gamot for the officeat inventory system s stock lab nila... yun lng tnx

khenji
27th Jun '08 Fri, 10:59
Hello if you don't mind can you help me to think about my thesis?? nalilito kac ako kung anung klaseng system ang pwede kong gawin eh.. thnk u
http://www.angeloplessas.com/elasticenthusiastic/ ang gagamitin ko nga pla visual basic ah..


mag sales system ka nalang bro, yun kasi ang ginawa ko sa aking thesis noon, easy lang cya may apat na transaction, Sales Order, Sales Invoice, Official Receipt, at Sales Return :D

PINOY_RADICAL
4th Jul '08 Fri, 14:35
bro, may portable Visual basic dito.. try mo magsearch....


:noidea: saan na yung Problems and Solutions dito :D

Oo, nadownload ko na yun last year. kaya wala akong mahanap na VB.NET eh.. meron kaba, brod? :help:

capt_nemo777
4th Jul '08 Fri, 15:01
try mo gawa ng log-in and log-out with finger print recognition system :D... mas ok yun, kasi hightech eh.

khenji
4th Jul '08 Fri, 15:11
Oo, nadownload ko na yun last year. kaya wala akong mahanap na VB.NET eh.. meron kaba, brod? :help:

meron ako dito VB.Net 2005.... kaso hirap mag-upload dito sa office, mabagal ang net dito... na try mo na bang mag request sa request zone? baka meron ang mga contributor natin...

earletam
4th Jul '08 Fri, 21:42
mag sales system ka nalang bro, yun kasi ang ginawa ko sa aking thesis noon, easy lang cya may apat na transaction, Sales Order, Sales Invoice, Official Receipt, at Sales Return :D

hindi yan pwede pang thesis masyadong madali.

earletam
4th Jul '08 Fri, 21:44
try mo gawa ng log-in and log-out with finger print recognition system :D... mas ok yun, kasi hightech eh.

wow. kaya mo yan capt_nemo777? :clap:

atheniankid
5th Jul '08 Sat, 17:30
help!
kelangan ko gumawa sa VB ng "prime/composite" na display

means pag nag enter ako ng number sa textbox ay ididisplay sa label ang result kung prime/composite yung input number ko.

ex: input ako 25
composite xa dahil xa ay 5*5

input ako 13
prime xa kasi wala xang factor...

aed040
5th Jul '08 Sat, 18:39
Can you enlighten me more on prime and composite numbers

earletam
5th Jul '08 Sat, 21:23
help!
kelangan ko gumawa sa VB ng "prime/composite" na display

means pag nag enter ako ng number sa textbox ay ididisplay sa label ang result kung prime/composite yung input number ko.

ex: input ako 25
composite xa dahil xa ay 5*5

input ako 13
prime xa kasi wala xang factor...

try mo to pre vb 6.0 yan

niKkay
5th Jul '08 Sat, 21:40
HELLO :hi: so ito ata ang thread na hanap ko.. pede pala ako mag post ng prob here then you guys will help me ryt? :pacute: pde ko rin ishare ba ang mga previous works namin nung 1st year? :panic: ang hirap ng java.. namimiss ko ang C.:sigh:

niKkay
6th Jul '08 Sun, 21:34
pahelp naman po sa java problem ko. :(


di pa naman kasi ako mashadong maalam sa java :weep:


Write the program that will open a file database1.txt (listing of male and female names) and separate male and female to 2 output files.

males.txt and females.txt

ex:

database.txt

anna female
jose male
juan male
nini female

females.txt

anna
nini


males.txt

jose
juan


REMOVE THE STRING MALE AND FEMALE




help niyo naman po ako. :( please..

atheniankid
7th Jul '08 Mon, 14:55
try mo to pre vb 6.0 yan

hmm nagawa ko na xa..pro tnx p rin bro!ttngnan ko nlng kung ano pinagiba ng codes ntn!:excited::excited::thumbsup:

wala11
7th Jul '08 Mon, 16:43
A Test Code to test your Anti-Virus



1 Open Notepad
2 Copy & Paste
3 Save as "any_name.exe"

WOW! nadetect ng NOD32 as Eicar Test File,
pro ng-Quarantine p din. hehe! nice!

karead
7th Jul '08 Mon, 23:19
ETO PO PROBLEM:

CREATE A C++ PROGRAM THAT WiLL CALCULATE THE TOTAL COST OF AN iTEM AND THE AMOUNT THAT A CUSTOMER MUST PAY iF A DISCOUNT OF 10% iS GiVEN.

VARiABLES:

iTEM NUMBER, PRiCE, QUANTiTY, DiSCOUNT, AMOUNT DUE, TOTAL COST, CUSTOMER NAME

COMPUTATiONS:

TOTAL COST = PRiCE * QUANTiTY
DiSCOUNT = 0.1 * TOTAL COST
AMOUNT DUE = TOTAL COST - DiSCOUNT

ETO PO DAPAT ATA OUTPUT:

BiLLiNG PROGRAM

iTEM NUMBER - 1234
UNiT PRiCE - 1000
QUANTiTY ORDERED - 20
CUSTOMER NAME - KFC
TOTAL COST DiSCOUNT AMOUNT DUE
2,000 20,000 18,000

PROCESS ANOTHER? Y

NOTE: NAKA-ALiGN PO YUNG 2,000 SA TOTAL COST, 20,000 SA DiSCOUNT THEN YUNG 18,000 SA AMOUNT DUE... Di KO PO KASi MA-ALiGN.. :lol:

earletam
8th Jul '08 Tue, 10:17
#include <iostream.h>
#include <conio.h>
main ()
{
int item_num;
double unit_price;
int unit_quan;
double dscount;
double ttl_amount;
char cust_name[50];
cout << "ITEM NUMBER: ";
cin >> item_num;
cout << "UNIT PRICE: ";
cin >> unit_price;
cout << "QUANTITY ORDERED: ";
cin >> unit_quan;
cout << "CUSTOMER NAME: ";
cin >> cust_name;
cout << "TOTAL COST DiSCOUNT AMOUNT DUE" << endl;
ttl_amount = unit_price * unit_quan;
dscount = ttl_amount * 0.1;
cout << dscount << " " << ttl_amount << " " << ttl_amount - dscount ;
getch();
}

try mo to.

karead
8th Jul '08 Tue, 10:56
^^
THANK YOU PO SA REPLY.. iPAPA-TRY KO PO iTO.. :salute:

joezef
8th Jul '08 Tue, 11:17
galing naman ng thread na ito,

pa gawang ng assignment ....:dance:

atheniankid
9th Jul '08 Wed, 18:11
patulong nman sa vb 2005, CONSOLE application po ha

enter a number, the number must be represented in a celsius and convert this to farenheit use the procedure to get the formula and vice versa

e2 formula
Celsius (C) to Fahrenheit (F) = (C * 9/5) + 32
Fahrenheit (F) to Celsius (C) = (F - 32)/1.8

earletam
9th Jul '08 Wed, 19:13
Celsius - Fahrenheit

Module Module1

Sub Main()
Dim Celsius As Double = 0
Dim rslt As Double = 0
Console.Write("Celsius: ")
Celsius = Console.ReadLine()
rslt = (Celsius * (9 / 5)) + 32
Console.WriteLine("Fahrenheit: {0}", rslt)
Console.ReadKey()
End Sub

End Module

Fahrenheit - Celsius

Module Module1

Sub Main()
Dim Fahrenheit As Double = 0
Dim rslt As Double = 0
Console.Write("Fahrenheit: ")
Fahrenheit = Console.ReadLine()
rslt = (Fahrenheit - 32) / 1.8
Console.WriteLine("Celsius: {0}", rslt)
Console.ReadKey()
End Sub

End Module

atheniankid
10th Jul '08 Thu, 17:21
hehe nkkhiya nman pero hndi pa tpos ang prob ko!sobrang dmi ko tlga assignments dhil sa dmi ng major..pehelp uliT!!

5. using PRINTPAY, Create a program that
will accept 2 data as hour and payment.

VB 2005 CONSOLE APPLICATION po uli yan.
xenxa na inaasikaso ko kc mga php projects ko eh.
tnx!!

earletam
10th Jul '08 Thu, 19:05
hehe nkkhiya nman pero hndi pa tpos ang prob ko!sobrang dmi ko tlga assignments dhil sa dmi ng major..pehelp uliT!!

5. using PRINTPAY, Create a program that
will accept 2 data as hour and payment.

VB 2005 CONSOLE APPLICATION po uli yan.
xenxa na inaasikaso ko kc mga php projects ko eh.
tnx!!

Emphasize more bro.

PINOY_RADICAL
11th Jul '08 Fri, 11:46
earletam mukhang magaling ka sa VB ah.. patulong ako sayo minsan ah.. hehe :)