Teentalk

Author Topic: [panda's hub] - Ask here anything bout computers...hardware/software/fix/advice  (Read 57479 times)

pOopydoO

  • Guest
c++ nga, haha
wala kasi akong programming background, wala ako idea, waaaa
b.o.b.o talaga ko sa prog haha.
turuan nyo naman ako please,

uy, waychraych, alam mo ba? ^_^

waychraych

  • bubblegum
  • ****
  • Posts: 522
  • Karma: +27/-11
    • <3
Decimal to Binary:
Quote
void Dec2Bin()
{     int n,bin[100],i,j;     
printf("Enter A Number To Find It's Binary Equivalence\n");     
scanf("%d",&n);     printf("The Binary Equivalent of %d is \t",n);     
for(i=0;n!=0;i++)     {       
 bin=n%2;         n=n/2;     
}     f
or(j=i-1;j>=0;j--)   
 {         printf("%d",bin[j]);     }     
printf("\n"); }


Decimal to Octal:
Quote
void Dec2Oct() {     
int n,r[10],i;     
printf("Enter a number to find it's octal equivalent\n");   
 scanf("%d",&n);     
printf("The octal equivalent of %d is ",n);     
for(i=0;n!=0;i++)     {         r=n%8;         n=n/8;     }     
i--;     
for(;i>=0;i--)         p
rintf("%d",r);     printf("\n"); }

Decimal to Hex:
Quote
void Dec2Hex()
{
    int n,r[10],i;
    printf("Enter a number to get its hexadecimal equivalent\n");
    scanf("%d",&n);
    for(i=0;n!=0;i++)
    {
        r=n%16;
        n=n/16;
    }
    i--;
    for(;i>=0;i--)
    {
        if(r==10)
            printf("A");
        else if(r==11)
            printf("B");
        else if(r==12)
            printf("C");
        else if(r==13)
            printf("D");
        else if(r==14)
            printf("E");
        else if(r==15)
            printf("F");
        else
            printf("%d",r);
    }
    printf("\n");
}

Try mo muna yan. Kung gumagana, ikaw na magcombine.

pOopydoO

  • Guest
thanks waychraych,
yung turboC ko ayaw gumana ng matino, laging invalid directory kapag sini-save ko na.

kinopya ko lang kasi yung folder nito sa school namin,
may alam po ba kayong free download ng turboC? ^_^
salamat. ^_^

jeannicecream

  • Guest
Sige po, send ko na lang ulit. :)

zwitsal_14

  • bubblegum
  • ****
  • Posts: 567
  • Karma: +54/-17
  • I'm his.. but he's not mine..
    • My friendster account
hello po senio! :)
 I want to buy a laptop kasi. but the problem is i don't know kung anong specifications or characteristics ang kailangan kong tignan para malaman kung maganda yung laptop. baka mamaya sini-sales talk lang pala ako..  and syempre gusto ko yung mejo mura lang. ahmm...maybe kahit 20-40K? me ganun bang laptop?

I'm a student lang po e.. so mostly gagamitin ko lang ang laptop because of school works. such as microsoft word, powerpoint, excel yung mga ganyan lang. tapos syempre i need internet connection din. tapos magsasave din ako ng pics and songs. tapos gusto ko din yung makakanood ako sa net like sa youtube and crunchyroll.

please help me naman po to find a laptop that suits my needs. wala kasi talaga kong alam sa mga ganyan.  yung sa mga speed-speed.. memory chuva. tapos wala din akong matatanungan dito samin. kaya dito ako sa teentalk nagtatanong.. hope someone could help me po. salamat! :)
i waNna bE wiD him fOr fOrever.. bUt.. he doEsn'T kNow tHat... aNd iF hE's goiNg to KnoW tHat... hE wiLL nOt CarE.. sUreLy..

panda

  • cotton candy
  • *****
  • Posts: 1862
  • Karma: +85/-80
  • ignorance is a sin..
    • www.friendster.com\lendzkawaii
heyyy. um, my choices:

HP
Pavilion dv9700t

HP Pavilion dv5t
HP Pavilion dv4t
HP Pavilion dv2700t

those or the VAIO ones, but I think I'm rooting more for the HP laptops since I heard VAIOS are just in and very expensive.

thanks so much!  ;)

heyyy. um, my choices:

HP Pavilion dv9700t
HP Pavilion dv5t
HP Pavilion dv4t
HP Pavilion dv2700t

those or the VAIO ones, but I think I'm rooting more for the HP laptops since I heard VAIOS are just in and very expensive.

thanks so much!  ;)

2700 for studying 9700 for better specs

c++ nga, haha
wala kasi akong programming background, wala ako idea, waaaa
b.o.b.o talaga ko sa prog haha.
turuan nyo naman ako please,

uy, waychraych, alam mo ba? ^_^

hayy spoon feeding na yan ayaw mo bang matuto ? hmmm...
un pinapacheck mo xakin na coding...

wayr' used an old coding for c++ w/c is also used in turbo c..


void Dec2Bin()
{     int n,bin[100],i,j;     
printf("Enter A Number To Find It's Binary Equivalence\n"); 
   
scanf("%d",&n);

printf("The Binary Equivalent of %d is \t",n);     

for(i=0;n!=0;i++) 
{       
 bin=n%2; 
  n=n/2;     
}   

for(j=i-1;j>=0;j--)   
 {         printf("%d",bin[j]);     }   
 
printf("\n");

}

edited by panda..shorter version w/o the 2nd for loop design

int n,bin[100],i,j;     
printf("Enter A Number To Find It's Binary Equivalence\n"); 
   
scanf("%d",&n);

printf("The Binary Equivalent of %d is \t",n);     

for(i=0;n!=0;i++) 
{       
 bin=n%2; 
  n=n/2;     
printf("%d",bin); 
}   

.........if you input 10 the output would be 01010
shorter but would have 0 at the beginning well same value though..

anyways ok un coding nya... magkakaiba naman magcode kaming mga programmers she uses turboc coding w/c can also be used sa c++ .. i use iostream coding for c++ kasi...
*mas maiksi mga tinataype kasi* hehehehe

anyways tama po un coding nya and minimal editing na lang gagawin mo para mapa andar... though super spoon feeding na un .. i dont tolerate things like that hahaha na ako gagawa ng project mo for you,, pde kita turuan... pero aun.. hahahaha jejeje naku ka panget ayaw mo matuto... di me maniniwala na di kau tinuruan ng programming hahaha dahil malamang tinuruan muna kau bago kau bgyan nyan makinig ka kasi sa teacher mo hahahahahaha ... aba nag cucutting classes ako pero nakikinig ako sa programming gwahahahahahahaha wak ka na tumulad sakin

naku wayr' wak mu kunsintihin yan si poopy ayaw matuto nyan hahahahaha..
 ;D

thanks waychraych,
yung turboC ko ayaw gumana ng matino, laging invalid directory kapag sini-save ko na.

kinopya ko lang kasi yung folder nito sa school namin,
may alam po ba kayong free download ng turboC? ^_^
salamat. ^_^

mag hanap ka sa net google mo dami nyan hahahahaha

Sige po, send ko na lang ulit. :)

ok w8 ko ulet hahahahah rawr...

hello po senio! :)
 I want to buy a laptop kasi. but the problem is i don't know kung anong specifications or characteristics ang kailangan kong tignan para malaman kung maganda yung laptop. baka mamaya sini-sales talk lang pala ako..  and syempre gusto ko yung mejo mura lang. ahmm...maybe kahit 20-40K? me ganun bang laptop?

I'm a student lang po e.. so mostly gagamitin ko lang ang laptop because of school works. such as microsoft word, powerpoint, excel yung mga ganyan lang. tapos syempre i need internet connection din. tapos magsasave din ako ng pics and songs. tapos gusto ko din yung makakanood ako sa net like sa youtube and crunchyroll.

please help me naman po to find a laptop that suits my needs. wala kasi talaga kong alam sa mga ganyan.  yung sa mga speed-speed.. memory chuva. tapos wala din akong matatanungan dito samin. kaya dito ako sa teentalk nagtatanong.. hope someone could help me po. salamat! :)


taga san ka po? i mean kasi need ko malaman san ka ba bibili ng laptop dahil i can give you laptop models pero baka wala sa bibilhan mo ng laptop so better canvas muna then post mo dito un model numbers ng laptop na magugustuhan mo...


~panda
~how far can i go beyond what others can reach?
~studying is not for getting good grades but to train yourself to overcome hardship..

my story = TeenTalk Academy

waychraych

  • bubblegum
  • ****
  • Posts: 522
  • Karma: +27/-11
    • <3
mag hanap ka sa net google mo dami nyan hahahahaha

yes, just search Google. :) love the wonders of Google.

jeannicecream

  • Guest
Na-send ko na po. :) Wait ko po reply niyo. :)

pOopydoO

  • Guest
oist,
pwede ba sa iostream ang printf scanf?
saka para san ba yung stlib?

panda

  • cotton candy
  • *****
  • Posts: 1862
  • Karma: +85/-80
  • ignorance is a sin..
    • www.friendster.com\lendzkawaii
wayr''''

i second the motion.,.,.


jeanice''''

there was no problem found on the mp3 file you sent me.. it was smoothly playing in windows media player,.,.

anu po ba prob ule ung sound wala ok naman xa eh... rawr


poopy

huh.. e2 sample... un stdlib di ko lam baka stdio library standard input output library basta ilagay mo lang mga library sa header aandar un commands ,.,.,.,

#include <iostream.h> /*para gumana ung commands ,a cin at cout*/
#include <stdio.h> /*para gumana ung scanf %d at prinf
#include <string.h> /*for string chars*/
#include <math.h> /*operation command*/
#include <conio.h> /* partner ng string commands*/
#include <panda.h> /* my own library*/

#define cin i   --> to further shorten the commands
#define cout o

int a,b,c;
char poo;

void poopy();   --->> void functions

struct   ---------->> struct functions
{
}poop[10];

main()
{
o<<" input number of times poopy will be electrified : ";
i>>a;

for(b=0;b>=a;b++)
{
parse.ground.elec.num;
/* command to send an electric shock to the keyboard via panda.h library*/

b--;
/* i put a "b--" command to counter the b++ command so that this will be an infinite loop regarding the user input stated above*/

}



return 0;
}
~panda
~how far can i go beyond what others can reach?
~studying is not for getting good grades but to train yourself to overcome hardship..

my story = TeenTalk Academy

pOopydoO

  • Guest
pwedeng gumawa ng sariling library?
alam mo naguguluhan ako sa library na yan eh,
pano ba malalaman kung anung klaseng library ang gagamitin?

kasi yung code na binigay nyo error yung sa library ko, ang ginamit ko kasi stdio saka conio pero error, saka yung void dec2bin/dec2oct/dec2hex error din,
pwede bang void main() nalang ang lagay ko? hehe

uy ex, sana pagtyagaan mo kong turuan huh! haha, salamat ^_^


jeannicecream

  • Guest


jeanice''''

there was no problem found on the mp3 file you sent me.. it was smoothly playing in windows media player,.,.

anu po ba prob ule ung sound wala ok naman xa eh... rawr



Sa akin din sa Windows Media Player okay sila eh... Pero 'pag sa ibang player (iTunes, QuickTime) may sira. Parang may hinalong pampagulo... 'Di ko kasi ma-explain eh...

Namine16

  • jellybean
  • **
  • Posts: 278
  • Karma: +3/-5
  • ..whut?
Hey,

I'm having problems with my PC, it turned to an active restore desktop thing.
I clicked it the nth time, nothing happens. When i right clicked the desktop, and clicking the properties, a box came out saying 'your system administrator disabled the display panel'

I tried other methods but still no good. I think the cause of this was because of what i downloaded to what i thought was a crack for my phone but good thing i didn't placed it in the 'inside' the phone.

I downloaded a couple of anti-viruses but still, a need of serial number, subscription, etc.
The solution from what i hear from similar people are 'reformat', uggh. It's been making me depressed because all the files are once again gonna be erased, and my cousin, who is gonna be reformat my pc doesn't show up cause he has school but he promised me and only adds up to the stress. What makes things worse is my mom doesn't know about it.

Any help would be really appreciated,
-Otaku-crunchyroll.com/user/Namine1616

-LeArtiste-namine16.deviantart.com

-Treehugger-melzsixteen.multiply.com

Laurene_26

  • Guest
2700 for studying 9700 for better specs

got it. thanks kuya!

oh, and i also figured out the printer thing na din. so yeah. thanks.

pinkbillboard

  • cotton candy
  • *****
  • Posts: 1353
  • Karma: +81/-51
  • I`m Marvelous. So Marvelous.
    • My Blog
ah. avast. sige. next year.
We Are Superstars. Then, there was me!

 

Candy Blog

Who We're Crushin' On: Joe Jonas
by: marla, 2012-05-25
This week was quite a week for the Philippines entertainment-wise, wasn't it? Special guests:...

Council of Cool Blog

Double Whammy
by: Janelle, 2012-05-23
Last May 8, I was given the chance to attend not one but two amazing events for Candy....
Summit Media
WOMEN'S TITLES: Cosmopolitan | Candy | Yummy | Good Housekeeping | OK! | Preview | Town & Country | Women's Health | Yes!
MEN'S TITLES: FHM | Entrepreneur | Men's Health | Techie | Topgear
WEBSITES: Female Network | Smart Parenting | Jobstreet | Style Bible | Shopcrazy

Reproduction of material from any CandyMag.com pages without written permission is strictly prohibited.
Copyright 2012 Summit Digital. All rights reserved. CandyMag.com is a property of Summit Media.

Contact information: 6F & 7F Robinsons Cybergate Center Tower 3 Robinsons Pioneer Complex Pioneer St., Mandaluyong City 1550 Philippines.
Telephone (63-2) 451-8888 | Fax (63-2) 631-7788

Our Privacy Policy | Terms of Service | Summit Media Corporate Website