₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,466 members, 8,422,217 topics. Date: Sunday, 07 June 2026 at 09:31 PM

Toggle theme

Gmus's Posts

Nairaland ForumGmus's ProfileGmus's Posts

1 2 3 (of 3 pages)

ProgrammingRe: Check In: Submit Your C++ Questions Lets Solve by gmus: 4:45pm On Jul 05, 2015
1stdami:
i am talking abt c++ console here ...but java can perform the operation easier dont u tink so
Simply put. A console can be described as a non-graphical screen writing environment as opposed to a window which is graphical.
ProgrammingRe: Check In: Submit Your C++ Questions Lets Solve by gmus: 4:33pm On Jul 05, 2015
nembudziya:
i want to save, output from cout<<, and retrieve the output anytime, i need to print a receipt.
Files(i.e. disk),console, and printer are examples of devices.

cout writes to stdout by default which is d console. It can be redirected to write to any other output device.

If u wish to write to a device and retrieve later dn dt device must neccesatily be a file.
ProgrammingRe: Check In: Submit Your C++ Questions Lets Solve by gmus: 4:18pm On Jul 05, 2015
1stdami:
well if u say so mayb we have different meaning for oop
Put simply object oriented programming is an approach to programming that uses classes and objects.
1stdami:
well if u say so mayb we have different meaning for oop
Put simply object oriented programming is an approach to programming that uses classes and objects.
1stdami:
well if u say so mayb we have different meaning for oop
Put simply object oriented programming is an approach to programming that uses classes and objects.

A class is a definition of an object. It is an abstraction. it does not exist. A class specifies d form that an object must take when it is created. An object is a physical realization of a class.
ProgrammingRe: Check In: Submit Your C++ Questions Lets Solve by gmus:
nembudziya:
hmmmmmm..........i am astounded. Whats a console, though. Guy, i think you also have to help me on friendship and inheritance cos its one area i'd to master, plus pointers, wow, especially the *this pointer. Hope to hear from you concerning this one matter. Thanks in advance.
See this:
https://en.m.wikipedia.org/wiki/Console_application


I know dt the ofstream object is a stream. it is like an interface btw a program and and a device. When u write with ofstream u are not writng to a devicr. You are writing to a stream. Files and printers are examples of devices.



POST EDIT:
Download and read ; C++: The Complete Reference by Hebert Sheildt 4th Edition.

U can also check my post in my main nairaland account - mnairaland
ProgrammingRe: Check In: Submit Your C++ Questions Lets Solve by gmus:
nembudziya:
i want to know how to save, retrieve and print a receipt from a portable printer like they use for parking automobiles.
solution.

1. Declare an ofstream object
2. open d object using d printer name in place of a filename.

3. write to d printer as u would write to a file.

In general to write to a printer, replace d filename/fileapath to a printername/printerpath in a file writing program.



So a general solutn is this:
Write program that writes to file but use the printer name/path in place filename/path.



POST EDIT;
Here is a good example:


http://www.dreamincode.net/forums/topic/43225-c-program-to-use-console-for-input-and-printer-for-output/
PoliticsRe: Boko Haram: In Defence Of Govt's Position To Negotiate. by gmus:
GOATandYAMtheory:
But he said 1month. undecided undecided And in the link you provided, I can only see two months. Is it that you bigots just can't wait to see Buhari fail? Why not pray he achieves his aim.
I admit that i have never been a fan of PMB. I am not a fan if GEJ either.(However, people have accused me of being biased in favour of GEJ. It may be true).I am a westerner. However, I am a realist basing my opinion on what i believe to be factual.


This , in my own personal opinion, are the facts;

I admit that GEJ is a bad choice for Nigeria but he is a better choice than GMB.

I admit that GEJ's adminisration was corrupt.

I personally, believe that, selfishly, GEJ refrained from taking strong stance against BH because of his 2nd term ambition. He did not want to be see as being against the north.

Comparatively, GEJ's administration was good.

BH was designed to be a tool with which to force power back to the north by making GEJ to look weak and clueless. A tool that eventually became bigger than the maker.

Rather than being supportive, ACN choose to ally with other parties and to wrest power from PDP. They cashed in fully on BH's insurgency to make GEJ look ineffective and weak.

Like GEJ, they selfishly used BH activities to their advantage rather than supporting GEJ to eliminate them.(you may say they were only playing opposition politics but whether so or not they were selfish and unreasonable over a sensitive issue like bh.)

GMB , and by extension APC , made impossible and unrealistic promises just to move Nigerians away from GEJ and get a hold of power. Those promises worked. The most important ones are:
1. He will bring bh to an end in two months. Nigerians being desperate to see an end to d insurgency believed him and deserted GEJ. Unfortunately, current happenings now show that GEJ was not as weak,ineffective and clueless as he was made to appear.

2. He will make a naira equal a dollar. He will stabilize global oil price. Nigerians , who were experiencing a tough time as a result of rapidly falling naira hastily hurried to support him since it seem GEJ couldn't resolve the situation. GMB looked like an appealing escape route from the hash economic condition that GEJ apparently was unable to resolve. But today, naira has falling much more.



Like i stated above the desire to end BH and have a better economy on the part of Nigerians was what made GEJ to loose out.



Because the task of ending BH and improving the economy is not as easy as GMB/APC envisaged, I believed that at the end of the day GEJ 's administration , though corrupt, will prove to be better than GMB's .

Since i am not an expert in this arena, it is very possible that GMB will will prove me wrong. Honestly, i hope and pray that I am proved wrong. I will be more than happy to eat my words. l want the insurgence to end. i want the economy to get better but unfortunately, the above is my analysis of the situation for now.
FashionRe: Outrage As Ex-OAU Male Student Transforms To Woman - The SUN by gmus: 4:02pm On Jul 04, 2015
Jarus:
When i saw the headline, i knewbthis was Dapo.
Same here.

Funny enough. I never knew how he looked like back dn only used to hear of d law student who dresses and hehaves like a woman.back dn. just seeing his face as a man for d first time here.
FashionRe: Outrage As Ex-OAU Male Student Transforms To Woman - The SUN by gmus: 4:00pm On Jul 04, 2015
Jarus:
When i saw the headline, i knewbthis was Dapo.
Same with mr.

Funny enough. I never knew how he looked back dn. just seeing his face as a man for d first time here.
FashionRe: Outrage As Ex-OAU Male Student Transforms To Woman - The SUN by gmus: 3:57pm On Jul 04, 2015
Jarus:
When i saw the headline, i knewbthis was Dapo.
Same with mr.
EducationRe: My Name Is OR My Names Are,which Is Grammatically Correct? by gmus: 3:45pm On Jul 04, 2015
freedom96:
smiley it's like u have watched the movie spartacus @emboldened
grin
freedom96:
smiley it's like u have watched the movie spartacus @emboldened
EducationRe: My Name Is OR My Names Are,which Is Grammatically Correct? by gmus: 3:32pm On Jul 04, 2015
freedom96:
Are u just in so much hurry to show off or what? undecided
Read my post again,is that not what I just explained?Na wa o.
Ooops!.u are quite right. Apologies.
EducationRe: My Name Is OR My Names Are,which Is Grammatically Correct? by gmus: 1:58pm On Jul 04, 2015
fonkiee:
it is i concur not concord
concur is a verb - to agree.
concord is a noun- agreement
so she is right u are wrong.

She wss saying : it is concord .
subject- verb concord is a topic in grammer. it means subject-verb agreement.
EducationRe: My Name Is OR My Names Are,which Is Grammatically Correct? by gmus: 1:39pm On Jul 04, 2015
debolly:
The correction is duly noted....i forgot the 's.
He is wrong. u are right.(see my second to last post)
EducationRe: My Name Is OR My Names Are,which Is Grammatically Correct? by gmus:
freedom96:
its is used to show posession,I think it's concord is what u ought to have used not its concord.
friend in grammer u never ever use d aprostrophe and s to show possessn. u use its. it's is contraction for it is just as don't is to do not.


EDIT: Generally, aposrophe and s is used to show possessn for nouns but dy are used to show contractn for pronouns.
EducationRe: My Name Is OR My Names Are,which Is Grammatically Correct? by gmus: 12:53pm On Jul 04, 2015
Djicemob:
Something doesnt sound or look right about saying "my names are..."
Goodluck - fname
E bele - mname
Jonatha- sname

total names = 3

My name is Goodluck -correct ( singular subject require singular verb. 'Name' and ' Good luck' refers to dsame thg so dy must agree in no.

My names are Goodluck,Ebele and Jonathan-correct ( plural subject takes plural verb.'Names' and 'Goodluck, Ebele, and Jonathan' refers to dsame thg so dy must agree in no.

My name is Good luck Ebele Jonathan- correct( singular subject takes singular verb. 'Name' and 'Goodluck Ebele Jonathan refers to d same thg so dy must agree in no. 'Good luck Ebele Jonathan' is definely singular -no comna and no conjunction and therefore it is a unit.
BusinessRe: See The Latest Method Banks Have Now Employed To Devaluate The NAIRA (photo) by gmus: 11:35am On Jul 04, 2015
There are designated atm 's dt dispence dollar in Nigeria. know gtb and zenith have have such and possiby all banks . u were unfortunate to use such.
PoliticsRe: Is CNN Mocking The APC In This Tweet? (Photo) by gmus: 10:38am On Jul 04, 2015
discusant:
But CNN demonized former president Goodluck Jonathan over Boko Haram and Chibok girls kidnap. For that, many of Nigeria's electorate believed that Jonathan's presidency was why Boko Haram persisted and why Chibok girls could not be rescued. Thus, Buhari who was thrice rejected became new president, with his pre-election promise to conquer Boko Haram shortly after becoming president. So what is CNN up to now?
CNN is just being a watchdog:sayg it asit is whether GEJ or PMB.
PoliticsRe: Appointments:uproar As Buhari Favours Northeners -PUNCH by gmus: 9:18am On Jul 04, 2015
chebyshev:
Your post is the best so far on this discussion
Thank.you.
PoliticsRe: Appointments:uproar As Buhari Favours Northeners -PUNCH by gmus: 8:57am On Jul 04, 2015
lastpage:
The article is obviously SPONSORED to cause mischief so dont be surprised that the said "Monikers" are FAKE!
We know those behind this nonsense are the same people who are judging PMB's administration, just after three days in office!
shocked shocked

Stewpid bunch of Eediots......senseless and jobless SaTANoids!


Lastpage!
i eventually found out dt d monikers are real and authentic. use naira land search.
PoliticsRe: Appointments:uproar As Buhari Favours Northeners -PUNCH by gmus: 8:54am On Jul 04, 2015
ugia:
Why is the social media agog with cries of sectionalism in the appointments so far made? I thought we are one Nigerian - a place where ethnic bias is supposed to have evaporated from our psyche and have gone past this. We say the President's appointments is skewed towards a particular section of the country and so what? My take is that the President reserves the right to appoint whoever he feels he can work with to deliver the dividends of democracy. Take the DSS as a typical example. They threw the principle of neutrality to the dogs and allowed themselves to be used as a tool for getting back at political opponents. They derailed in the discharge of their duties and became so political. As it stands, the DSS need a total reorientation and reengineering for them to appreciate what their primary responsibility is. If it takes the President to realize this and he decides to pick some one from outside that he is sure of his antecedents and can deliver, the much we can do as citizens is to support him. Lets also look at the appointment of the Accountant General of the Federation. His appointment was based on merit. All DFAs of MDAs across the federation sat for an examination and the best man was picked.
Lets look at the cup as half full than half empty and rise from our primordial sentiments. Nigeria will be good again.
This too makes sense.
PoliticsRe: Appointments:uproar As Buhari Favours Northeners -PUNCH by gmus: 8:44am On Jul 04, 2015
bigerboy200:
God bless you for this comment..In as much as every zone in d country should have a sense of belonging in Govt,competence should still be the leading yardstick,cos these appointments are what will make or mar d adminstration.GEJ may hav provided a kind of ballance during his time,but d question is ''were they competent and up to d task''?..what shall it profit me,if my brother is a minister,and i can't feel or see the dividends due to his incompetence??I think i'll rather prefer a competent stranger to an incompetent brother...
This.makes a.world of sense.I really see through ur eyes. (one of those likes are from me).
PoliticsRe: Appointments:uproar As Buhari Favours Northeners -PUNCH by gmus: 8:09am On Jul 04, 2015
augster:
we fight before?haba...where I sabi you embarassed
oh. i didn't even look at d miniker. Wow so those monikers actually exist. Interesting.
PoliticsRe: Appointments:uproar As Buhari Favours Northeners -PUNCH by gmus: 8:02am On Jul 04, 2015
augster:
we fight before?haba...where I sabi you embarassed
i mean punch used false monikers in their article.
PoliticsRe: Appointments:uproar As Buhari Favours Northeners -PUNCH by gmus: 4:24am On Jul 04, 2015
odams4life:
FOOD FOR THOUGHT FOR THOSE KEEPING EYES ON BUHARI'S APPOINTMENT ON THE GROUNDS OF ETHNO-RELIGIOUS SENTIMENT Below are the list of appointment made by the administration of Goodluck within just five (5) years: The list amongst others goes thus: 1) NIMET Dr. Anthony Anuforom 2) NNPC Eng. Andrew Yakubu 3) NIMASA Patrick Apobolokemi 4) PENCOM Mrs. Chinelo Anohu Amazu 5) FERMA Engr. Chukwu Amuchi 6) DPR Mr. George Osahon 7) Bank Of Industry Ms. Evelyn Oputu cool Nigerian Content Dev. Agency Ernest Nwanpa 9) Consumer Protection Agency Mrs Dupe Atoki 10) NCC Engr. Eugene Juwa 11) NAMA Engr. Nnamdi Udoh 12) NCAA Engr. Akikuotu 13) FAAN George Uriesi 14) NCAT Capt. Chinere Kalu 15) SEC Aruma Otteh 16) Sovereign Wealth Fund Uche Orji 17) NAFDAC Dr Paul Orhil 18) FIIRO Dr. Mrs. G. N Elemo 19) Maritime Academy Of Nigeria, Oron Joshua Okpo 20) Railway Corporation Eng. Seyi Sijuwade 21) Nigerian Tourism Dev. Corporation Mrs. Sally Mbanefoh 22) Budget Office Of The Federation Dr Bright Okogwu 23) NERDC Prof Godswill Obioma 24) NEXIM Mr R. R Orya 25) Standard Organization Of Nigeria Dr Joseph Odumodu 26) Nigerian Broadcasting Corporation Emeka Nkem Mba 27) Industrial Training Fund Prof. Longmas Wapmuk 28) National University Commission Prof. Okojie 29) NESREA Mrs. N.S Benebo 30) MDG Office Dr. Precious Gbenio 31) Surveyor General Of The Federation Peter Chigozie 32) Statistician General Of The Federation Dr. Yemi Kale 33) Accountant General Of The Federation Mr. Jonah Otunla 34) Auditor General Of The Federation Samuel Yonongo Ukura 35) National Orientation Agency Mike Omieri 36) News Agency Of Nigeria Oluremi Oyo 37) NEPC E/S David I Adelugba 38) NEPZA Mr. Olugbenga Kuye 39) BPP Engr Emeka Ezeh These are the set of people GEJ felt he could trust. Why making noise now?
pls how authentic is ds ur list? source?
PoliticsRe: Appointments:uproar As Buhari Favours Northeners -PUNCH by gmus: 4:18am On Jul 04, 2015
isalegan2:
Who are SenseiX, Augster and Daamazing? undecided tongue

Punch, na wah oh.
They are deliberately use false monica to protect dr identity.
PoliticsRe: Appointments:uproar As Buhari Favours Northeners -PUNCH by gmus:
tunjidj3:
One eye close another eye open
Before we are being sold out
Keep watching
Don't sleep
I forsee.this; d same nigerians who callled GEJ clueless will can him a genious at last. Those who called him a villan will pronounce him a hero.

Before this first 4 yrs are over.D non -performamce of PMB will pale that of GEJ into insignificance.But I hope and pray that events proove me wrong.
PoliticsRe: Buhari, Obama And Same-sex Marriage by gmus: 12:18am On Jul 04, 2015
williamson46:
o boy!.. Bros, if dat nah d case, nah to become gay by fire by force oo.. Mehn, nah den u'll knw dat boys are nt smilling! grin
I almost broke my head wt laughter. grin
williamson46:
o boy!.. Bros, if dat nah d case, nah to become gay by fire by force oo.. Mehn, nah den u'll knw dat boys are nt smilling! grin
I almost broke my head wt laughter.
Foreign AffairsRe: Picture:meet America’s First Openly Gay Imam by gmus: 8:17pm On Jul 02, 2015
TeamSimple:
The Pope was the first to accept gayism among other religious worshipers..you can still go search for the popes view on Gayism and pastor Chris Oyakhilome.
P Chris can never approve of homosecuality . no not in ds life time.What he once talkef about was masturbatn which is ingldulged in mosly by heterosxuals.
Foreign AffairsRe: Picture:meet America’s First Openly Gay Imam by gmus: 8:11pm On Jul 02, 2015
Monstaof:
This cant be true............Meanwhile, men and women are not allowed to be together while praying in Islam.
ur comment shows u did not read d articel.Pls carefully read it .
Dating And Meet-up ZoneRe: Single Naijas In London Or UK by gmus: 6:05pm On Jul 02, 2015
pls watch out for d yahoo yahoo guys. dont be a magga.
RomanceRe: Reasons Why Nigerian Women Prefer Ghana Men by gmus: 7:40pm On Jul 01, 2015
RomanceRe: Reasons Why Nigerian Women Prefer Ghana Men by gmus: 7:15pm On Jul 01, 2015
MrsChima:
He is not a mix breed.
I think u shd see this:
https://en.m.wikipedia.org/wiki/Van_Vicker

1 2 3 (of 3 pages)