₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,324,996 members, 8,419,858 topics. Date: Thursday, 04 June 2026 at 03:25 AM

Toggle theme

Codemarshal08's Posts

Nairaland ForumCodemarshal08's ProfileCodemarshal08's Posts

1 2 3 4 5 6 7 (of 7 pages)

ProgrammingRe: Check In: Submit Your C++ Questions Lets Solve by codemarshal08(m): 3:53pm On Jul 04, 2015
nembudziya:
ok,thanks but what OS by the handheld portable printers
could you please rephrase your question, can't really understand it
ProgrammingRe: Pls Help With The Full List Of Softwares For C++ by codemarshal08(m): 3:50pm On Jun 24, 2015
imbless:
Pls can someone help me with the name of softwares I need for c++ programming.

I mean full kit such as,
* the best c++ programming softwares
* compilers and decompilers
* assemblers and deassemblers

I don't really know the full list, but I think somebody could help me out here thanks.
Bro, do you really need all these for c++ programming ? lipsrsealed
ProgrammingRe: Check In: Submit Your C++ Questions Lets Solve by codemarshal08(m): 7:14pm On Jun 23, 2015
nembudziya:
I'd like to command a printer to print, whats the command.......
Bro IMO, there is no direct way to output to a printer in c++. Printing is an OS-Dependent Operation.
ProgrammingRe: Save A Document by codemarshal08(m): 7:43pm On Jun 22, 2015
timmyblast:
Please, how do I save a scanned document in pdf format. i.e pdf extention
You can use foxit pdf reader. if you have this, you just have to send the document as a normal print but specifying FOXIT READER as the printer to use
ProgrammingRe: New To Programming! Really Neeed Help by codemarshal08(m): 5:51am On Jun 17, 2015
HoluwadareY:
pls i am new to programming. just started learning [/b]Python[b]. i really need help on functions esp those that return values. how to define it and how to call it. thanks in advance
Bro, don't you think "Google.com" could answer these questions better ?
ProgrammingRe: I Need HELP With This Python Problem by codemarshal08(m): 8:51pm On Jun 11, 2015
Oops, you mean you are not allowed to use loops ?
ProgrammingRe: I Need HELP With This Python Problem by codemarshal08(m): 8:11pm On Jun 11, 2015
handsomeness:
#2. Repeat the greetings based on the number of character in 'greeting'
Note: i am not a python programmer

For Repetition, your will need a loop

check the code below:


greetings = "HEELO GOOGLE"
numOfChars = len(greetings) # numOfChars = the number of characters in greetings

i = 0
while i < numOfChars:
print greetings # output greetings till i equals numOfChars
i = i + 1
ProgrammingRe: Try This Algorithm Question. by codemarshal08(m): 7:41pm On Jun 11, 2015
sirdamis:
Write an algorithm to evaluate y=a(b-c)^2/d+2. Let x=a(b-c)^2. Thanks. Write the steps involved
Homework Question cheesy
ProgrammingRe: I Want To Learn Programming. Which Language Should I Start With? by codemarshal08(m): 9:03am On May 06, 2015
ijeezlux:
please i need somebody to teach me hw to write gui c++ program using qt gui toolkit. If u guys knw any gud book on qt, pls let me knw. Tnks
Here Are some Qt resources
Qt programming videos by VoidRealms
https://www.youtube.com/playlist?list=PL2D1942A4688E9D63

Qt videos by Bucky:
https://www.youtube.com/playlist?list=PLD0D54219E5F2544D

Google "C++ GUI Programming with Qt4, 2nd Edition By Jasmin Blanchette, Mark Summerfield"

start with these ones and walk your way to the top ! Good Luck
ProgrammingRe: I Want To Learn Programming. Which Language Should I Start With? by codemarshal08(m): 8:32am On May 06, 2015
ijeezlux:
lol......... my man so u ar here? U dnt tel me u ar an online teacher. May be u wil start teaching me. Wil we stat wit 'custom template link list' - cletus
hehe, runs and hide his face lol
Well, I am here to Learn & also Contribute i remian loyal bro !
ProgrammingRe: [HELP] Software Resources by codemarshal08(m): 3:12am On May 06, 2015
Integrity4u:
Hello, nairalander programming guru. Please I need help as a beginner in programming on what software,pdf and online resource I need.
I am targeting html,css,java and python. Thanks alot
Do you know how to google ?
ProgrammingRe: I Want To Learn Programming. Which Language Should I Start With? by codemarshal08(m): 5:37am On May 05, 2015
MockinJay:
Guys I'm in need of your assistance. I just started learning C. I recently wrote the code below to calculate four figures instantly and also to give out some conditions like if the answer is greater than 5, it should print "Your answer is greater than 5 and positive" else, it prints "Your answer is less than 5". Code is working well but I can't seem to get the else part functioning well, even when , the answer is less than 5, it prints greater than 5. cry
In Line 16, Remove the Quotes around the Expression.
it should be :
if(sumTotal => 5)
WebmastersRe: Webmasters Enter Here If You Can Solve These PHP Questions... by codemarshal08(m): 5:06pm On Apr 30, 2015
Grime:
Conditional statement. The ternary operator is ?:
my bad, I misread the question.
I have made the necessary correction
Thanks.
WebmastersRe: Webmasters Enter Here If You Can Solve These PHP Questions... by codemarshal08(m):
cbrass:
$age= 15;

($age<15) ? 'Accept': 'Reject';

Who can explain what this code will do and what's the name of this expression?


Cc jregz craigston
[s] Name: Ternary Operator it is a short-hand notation for writing conditional statements[/s]
oOps, he asked for name of expression not operator's name. Expression name: Conditional Expression

($age<15) ? 'Accept': 'Reject';
the above code will return Accept if age is less than 15 Else it returns Reject
ProgrammingRe: Programmer Should Please Help Me To Solve This C++ Questions by codemarshal08(m): 7:40pm On Apr 01, 2015
Bros, what have u tried na ??
Tech JobsRe: A Student Looking For A Small Job by codemarshal08(m): 8:17am On Apr 01, 2015
I guess you are suppose to be on Industrial training now ?
ProgrammingRe: Programming Difficulties... Needs Your Take... by codemarshal08(m): 1:05pm On Mar 29, 2015
I would suggest you look for friends with similar interest or get a mentor !
ProgrammingRe: Simple C-codes That Still Confuse Me by codemarshal08(m): 3:57pm On Mar 28, 2015
@WhiZTiM, dat was a whole lot of nice explanation ! Kudos....
ProgrammingRe: Simple C-codes That Still Confuse Me by codemarshal08(m): 10:45am On Mar 28, 2015
crotonite:
thanks bro!, i think your the best on nl. can i folow, folow you on nl ? smiley








more wisdoms to your bucket of wisdom
you 're welcome bro. Sure you could. Remember: we all are here to share ideas !
ProgrammingRe: Please Help With Java Code For This Simple App.. by codemarshal08(m): 9:17am On Mar 28, 2015
choose4me:
Hello, Please help me with java code for a student register application I want to build.. It would be a GUI, where a student inputs his/her matric and the app generates a random question unique to the entered matric number.. If answer is right, it marks student present and vice versa..

Please help me as a matter of urgency..Thanks..
Though i dont do java, but i think your request is not specific enough. Where do you really need help ?, random question generation or program logic ? what have you been able to achieve ?
ProgrammingRe: Simple C-codes That Still Confuse Me by codemarshal08(m): 7:31am On Mar 28, 2015
crotonite:
but what i want is a very flexibly array like the 1d array that i can pass an array of any size of row or column. but it seems the above col is cons. isn't it?


by the way thanks so much
hehe. i am sorry, in c++ you are not allowed to do such. Compiliers need to know at least how wide the column is. ANYWAY, you could go for a VECTOR . It is a good alternative !
ProgrammingRe: Simple C-codes That Still Confuse Me by codemarshal08(m): 6:25am On Mar 28, 2015
crotonite:
//how about passing a 2d array to a function?


//for 1d array array 1 could simply write

void take1DArr( int arr[], int len]{

int i; //do array indexing with var i

while(i < (len-1))

{ //do something magical with array arr[]

}
}//end of func.




//a buggy function that accepts 2d array

void take2DArr( int arr[][]){

// this doesn't compile whatz wrong

}



how is the right way to pass a 2d array to a funtion?
if you work with c++ then you must supply at least the Number of columns when passing a multi-dimensional array to a function. So your options are , either supply both sizes OR only supply the size of the columns

so your code should be like this :
const int cols = 6:
void take2DArr( int arr[][cols]){

// do your array processing here !

}

note: dhtml18, i sight you o. Greetings !
ProgrammingRe: How Lucrative Is Programming by codemarshal08(m): 6:44am On Mar 15, 2015
mployer:
You better find a way to complete your schooling. Not everyone in school has a sponsor.

Coding is a serious task and time-consuming. The time you invest in learning it can be used in other 'hussles' that will see you through school.

There is no questions of wether it is lucrative, you already know few names that made it big through programming. But the sad truth is they are the lucky few. Majority of programmers are broke undecided How times do you see them advertise for 10k web design on here undecided

It is a risky vocation just like football. We only get to hear the amount the European clubs are paying but no one bothers about the take home pay of an average Nigerian league player...and truly not all career footballers got a chance to play in Europe.

So bro, take programming as a spare-time hobby and not a chosen career at this stage, you can still hit it big if it is your destiny. Most of the big names started this way........just do a little research.
you said it all bro..
ProgrammingRe: Hope For C++ Newbies: Gui Toolkits by codemarshal08(m): 5:02pm On Mar 01, 2015
Bro BlueMAgnificent, i sight u ! ........
ProgrammingRe: Hope For C++ Newbies: Gui Toolkits by codemarshal08(m): 4:44pm On Mar 01, 2015
peterincredible:
pls help mee ooo i tried to compile my own wx widget but it taking too much time, much time than i expected my is taking more than 2 hours till the extent i got tired and icancelled the installation pls nairalanders pls help me solve or advice me what to do the qt installation too is a serious matter pls your help is needed pls thanks God bless you all
Do you have issue installing Qt ? be more descriptive !
ProgrammingRe: I Want To Learn C++ Programming Language by codemarshal08(m): 8:27pm On Feb 23, 2015
hehe , Do them first ok ? I wish u well
ProgrammingRe: I Want To Learn C++ Programming Language by codemarshal08(m): 8:17pm On Feb 23, 2015
Jengbetiele:
Thanks so much. All my time as I am 100percent free at the moment!
here is wat i have for u

1) Get a c++ IDE . either CodeBlocks http://www.codeblocks.org/ or Vs studio
2) Get yourself a good c++ book (http://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list).

if u would learn better thru visual stuffs, u might prefer some video tutorials on utube (
https://www.youtube.com/watch?v=tvC1WCdV1XU)
3) Get Your Self familiar with StackOverflow http://stackoverflow.com/ and google
4) practice , practice .....Keep coding
5) Feel free to ask for help !

Good luck
ProgrammingRe: I Want To Learn C++ Programming Language by codemarshal08(m): 7:58pm On Feb 23, 2015
how much time are u willing to dedicate to this learning process because its a step by step thing
ProgrammingRe: I Want To Learn C++ Programming Language by codemarshal08(m): 6:43pm On Feb 23, 2015
Jengbetiele:
Can someone help me out, I really wish to learn C++ programming language somebody help...............
we should help u on wat ?
ProgrammingRe: Please Help Me Solve This C++ Question by codemarshal08(m): 2:43pm On Feb 22, 2015
if u would prefer already made , take this:

#include <iostream>
using namespace std;
int main()
{
double fahrenheit;
double celcius;

cout << "\t Enter temperature Value in Fahrenheit " << endl;
cin >> fahrenheit;

// using the formula u gave c=5/9(℉-32)
celcius = (5/9.0) * (fahrenheit - 32); // note d .0 stuff to avoid integer division

cout << "\t Temperature in fahrenheit = " << fahrenheit << endl;
cout << "\t " << fahrenheit << " degree fahrenheit = " << celcius << " degree in celcius " << endl;

return 0;
}

1 2 3 4 5 6 7 (of 7 pages)