Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

-= Having Difficulties in C++ and Java? Be a Part of This Thread =-

Re: -= Having Difficulty in C++? Be a Part of This Thread =-

ts any book for c++? yung tinuturo sna sa pang 1st yr BSIT?bbli kse ko books pra mgmit ko at madala ko sa school anu dn mgnda author nung book slamat
 
Re: -= Having Difficulty in C++? Be a Part of This Thread =-

ito na po idol yung mga price ng mga eggs ,
"1-5 dozens=8 pesos
6-8 dozen=7.50 pesos
9-10 dozens=7pesos
11-13=6.50 pesos
14-pataas=6 pesos"
wait ko mga idol :yipee::yipee:


eto baka lang magustuhan mo :lol:

EggForm

sample outputs
attachment.php

attachment.php

attachment.php

attachment.php

 

Attachments

  • 1.JPG
    1.JPG
    36.4 KB · Views: 87
  • 2.JPG
    2.JPG
    36.5 KB · Views: 88
  • 3.JPG
    3.JPG
    36.2 KB · Views: 86
  • 4.JPG
    4.JPG
    27.3 KB · Views: 88
  • eggform.rar
    104.7 KB · Views: 17
Re: -= Having Difficulty in C++? Be a Part of This Thread =-

ts any book for c++? yung tinuturo sna sa pang 1st yr BSIT?bbli kse ko books pra mgmit ko at madala ko sa school anu dn mgnda author nung book slamat

yung nasa page 1 na linagay ko..yung c++:how to program by deitel & deitel...

yan ang ginagamit naming mga first year ngayon sa programming...ahm..depende po kasi yan sa school..kung anu ang mas preferred nilang pinapagamit na book :)



eto baka lang magustuhan mo :lol:

EggForm

sample outputs
attachment.php

attachment.php

attachment.php

attachment.php


salamat sir sa pagtulong dito :)
kakatapos ko palang kasi gumawa ng homework sa computing fundamentals...yung paggawa ng pdf gamit ang LATEX..hehe..

kaya ngayon..rest mode muna ako..kayo muna po ang bahala dito
 
Last edited:
Re: -= Having Difficulty in C++? Be a Part of This Thread =-

maraming salamat mga idol ..!buti pa dito veri helpful mga programmers ..hehe ..last na po mga idol ..hehe ,nakalimutan kong sabihin na kelangan po pala yung 3 looping statements ang gagamitin kasi nasa basic pa lang kami ng C++ ,baka magduda si sir sa sobrang kakomplikado ng pagkagawa ng program na ipapasa ko ..kahit unting edit lang po sa mga nauna n ..sensya na po mga idol ..pag nakagraduate ako pagaaralan ko ulit visual basic,turbo c,c++ pati na java para makatulong din ako sa iba kagaya dito ..^^
 
Re: -= Having Difficulty in C++? Be a Part of This Thread =-

eto nga po pala simple programs na nagawa na namin ..medyo ganito yung ilang ilalagay po kasi sa nakita kong gawa ng classmate ko ..basta yung 3 looping statement po ..hehe
 

Attachments

  • EXER02.JPG
    EXER02.JPG
    104.9 KB · Views: 21
Re: -= Having Difficulty in C++? Be a Part of This Thread =-

maraming salamat mga idol ..!buti pa dito veri helpful mga programmers ..hehe ..last na po mga idol ..hehe ,nakalimutan kong sabihin na kelangan po pala yung 3 looping statements ang gagamitin kasi nasa basic pa lang kami ng C++ ,baka magduda si sir sa sobrang kakomplikado ng pagkagawa ng program na ipapasa ko ..kahit unting edit lang po sa mga nauna n ..sensya na po mga idol ..pag nakagraduate ako pagaaralan ko ulit visual basic,turbo c,c++ pati na java para makatulong din ako sa iba kagaya dito ..^^

eto sir..try mo po..sensya....now lang ako nakavisit ulit dito..may ginagawa kasi ako kagabi :)

http://*** BANNED LINK - DO NOT POST ***/iw3T0iTz
 
Last edited:
Re: -= Having Difficulty in C++? Be a Part of This Thread =-

ok na siguro to idol ..maraming salamat !!:yipee::clap::clap:
sa uulitin :excited:
 
Re: -= Having Difficulty in C++? Be a Part of This Thread =-

#include <iostream>
using namespace std;

int main()
{

return 0;

}]

Bossing dun sa sample ano pong purpose ng line na "return 0", "using namespace std" and bakit po "int" yung main?

kasi po ang code ko ay ganito lang..

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

main()
{
getch();
}

salamat po :)
 
Last edited:
Re: -= Having Difficulty in C++? Be a Part of This Thread =-

Bossing dun sa sample ano pong purpose ng line na "return 0", "using namespace std" and bakit po "int" yung main?

kasi po ang code ko ay ganito lang..

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

main()
{
getch();
}

salamat po :)

dun sa "using namespace std"; ....ganito po yun

instead na gumamit ako ng ganito

Code:
#include <iostream>

int main()
{
std::cout << "Welcome "; 
std::cout << "to C++!\n";
return 0;
}
ay pwede ko namang gawing ganito..upang mas maiksi
Code:
#include <iostream>
using namespace std;

int main()
{
cout << "Welcome ";
cout << "to C++!\n";
return 0;
}

sa int main() naman..eto ang explanation nyan
Code:
The keyword int to the left of main indicates that main "returns" an integer value.

sa return 0; naman...eto ang explanation
Code:
indicate that program ended successfully

wala naman problema sir kung anong mga code ang gagamitin mo...basta nagcompile ito at na-output yung nais mong output file
:thumbsup:
 
Re: -= Having Difficulty in C++? Be a Part of This Thread =-

wala naman problema sir kung anong mga code ang gagamitin mo...basta nagcompile ito at na-output yung nais mong output file
:thumbsup:

Oo nga po tama kayo.. and boss gusto ko malaman yung meaning ng code hehe dhil hindi naman purkit maksi ang code ok eh db? mas da best kasi ang code na maraming function at madaling idebug pati i adjust kung sakaling may gusto tau idagdag na feature ng program natin hehe.. anyway yung code nyo po pala same lang din sa gamit ko na code para hindi na ilagay yung "std::" hehe salamt po sa mga ebooks.. and meron po ba kayong guide na C++ ang gagamitin para imanipulate ang DB?
 
Re: -= Having Difficulty in C++? Be a Part of This Thread =-

kuya yung binigay mo pong example na login form pwede mo po bang i hide gusto ko po ganito
Username: computergeek
Password: ************* <----- ganito po sana oh
 
Re: -= Having Difficulty in C++? Be a Part of This Thread =-

@raymund cge tol d nmn required ang my book gusto ko lng nung my mbbsa ehhehe try ko humnap sa bookstore nung snsbi mu pro prefered mu nba yun pra sa 1st yr BSIT student? C++ dw kse ituturo this midterm slamat
 
Re: -= Having Difficulty in C++? Be a Part of This Thread =-

@raymund cge tol d nmn required ang my book gusto ko lng nung my mbbsa ehhehe try ko humnap sa bookstore nung snsbi mu pro prefered mu nba yun pra sa 1st yr BSIT student? C++ dw kse ituturo this midterm slamat

yup...ahm.download mo nalang yung nasa page 1..same lang naman ang contents nun sa book..at saka..mahirap na nun maghanap kasi 5th edition pa..may mga latest na atang version ngayon :)

kuya yung binigay mo pong example na login form pwede mo po bang i hide gusto ko po ganito
Username: computergeek
Password: ************* <----- ganito po sana oh

kanino pong post mam???at saan?? :noidea:
 
Last edited:
Re: -= Having Difficulty in C++? Be a Part of This Thread =-

hello...

pwede po ba manghinge ng mga codes ng C++ for newbie???

mas maganda po kasi kung may mga commands na nakikita, at kung para saan un,, like for example

main () - is for open or to signal to memory etcc...
{ - open???
} - close ;D

pa post nmn po sa mga idol nmen jan, para makagawa kame ng sariling mga programs namin.. hehe for studying and making an program.. thanks in addvance mga sir
 
Re: -= Having Difficulty in C++? Be a Part of This Thread =-

hello...

pwede po ba manghinge ng mga codes ng C++ for newbie???

mas maganda po kasi kung may mga commands na nakikita, at kung para saan un,, like for example

main () - is for open or to signal to memory etcc...
{ - open???
} - close ;D

pa post nmn po sa mga idol nmen jan, para makagawa kame ng sariling mga programs namin.. hehe for studying and making an program.. thanks in addvance mga sir
 
Re: -= Having Difficulty in C++? Be a Part of This Thread =-

hello...

pwede po ba manghinge ng mga codes ng C++ for newbie???

mas maganda po kasi kung may mga commands na nakikita, at kung para saan un,, like for example

main () - is for open or to signal to memory etcc...
{ - open???
} - close ;D

pa post nmn po sa mga idol nmen jan, para makagawa kame ng sariling mga programs namin.. hehe for studying and making an program.. thanks in addvance mga sir

download mo nalang po yung mga books para sa tutorial...may mga ilan akong binigay sa page 1.. :salute:
 

Attachments

  • New Text Document (3).txt
    184 bytes · Views: 20
Last edited:
Re: -= Having Difficulty in C++? Be a Part of This Thread =-

kuya yung binigay mo pong example na login form pwede mo po bang i hide gusto ko po ganito
Username: computergeek
Password: ************* <----- ganito po sana oh

Assuming you're looking for a sample C++ + Win32 code...

Code:
#include <iostream>
#include <string>
#include <Windows.h>

HANDLE hStdin = GetStdHandle ( STD_INPUT_HANDLE );
INPUT_RECORD irEvent;
DWORD dwNumEventsRead;
bool mKeyPressed;
char wKeyCode;

void pollKeyboard ( )
{
	WaitForSingleObject ( hStdin, INFINITE );

	/* ReadConsoleInput blocks, so peek for input character first. */
	if ( PeekConsoleInput ( hStdin, &irEvent, 1, &dwNumEventsRead ) )
	{
		/* Listen for keyboard events. */
		if ( ( irEvent.EventType == KEY_EVENT ) && ( irEvent.Event.KeyEvent.bKeyDown ) )
		{
			if ( ! ReadConsoleInput ( hStdin, &irEvent, 1, &dwNumEventsRead ) )
			{
				std::cout << "Error reading input.\n";
			}

			mKeyPressed = true;
			wKeyCode = irEvent.Event.KeyEvent.uChar.AsciiChar;

		}
	}

	FlushConsoleInputBuffer ( hStdin );
}

bool isKeyPressed ( )
{
	if ( mKeyPressed )
	{
		mKeyPressed = false;
		return true;
	}

	return false;
}

char getKeyPressed ( )
{
	return wKeyCode;
}

int main ( )
{
	std::string name;
	std::string passwd;
	char c;

	while ( true )
	{
		std::cout << "Username: ";
		std::cin >> name;
		std::cout << "Password: ";

		while ( true )
		{
			pollKeyboard ( );

			if ( isKeyPressed  ( ) )
			{
				c = getKeyPressed ( );

				if ( c == VK_RETURN )
					break;
				else if ( c == 0 || c == VK_TAB || c == VK_CAPITAL || c == VK_CONTROL || c == VK_MENU )
					continue;
				else
					std::cout << "*";

				passwd += c;
			}
		}

		std::cout << std::endl << "Password: " << passwd << std::endl;
		passwd.clear ( );

		std::cout << "Continue (y/n)?: ";
		char ans;
		std::cin >> ans;

		if ( ! ( ans == 'y' || ans == 'Y' ) )
			break;

	}

	return 0;
}
 
Last edited:
Re: -= Having Difficulty in C++? Be a Part of This Thread =-

kuya yung binigay mo pong example na login form pwede mo po bang i hide gusto ko po ganito
Username: computergeek
Password: ************* <----- ganito po sana oh


try these codes

sample output
attachment.php

 

Attachments

  • 1.JPG
    1.JPG
    24.3 KB · Views: 62
Re: -= Having Difficulty in C++? Be a Part of This Thread =-

yup...ahm.download mo nalang yung nasa page 1..same lang naman ang contents nun sa book..at saka..mahirap na nun maghanap kasi 5th edition pa..may mga latest na atang version ngayon :)



kanino pong post mam???at saan?? :noidea:


yung nasa first page nyu po ito first tutorial sya logical operators
 
Back
Top Bottom