₦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: Please Help Me Solve This C++ Question by codemarshal08(m): 2:13pm On Feb 22, 2015
Oladg2:
write a program which inputs reading expressed in fahrenheit and output its equivalent in celcius using the formular °c=5/9(℉-32). andvcompile and run the program. its behaviour should resemble this : Temperature in fahrenheit =41
41 degree fahrenheit =5 degree celsius.
wat code have u tried ? are u a programmer . Please give details
ProgrammingRe: Sql For Joing 3 Tables In My Databse by codemarshal08(m):
cyan2008:
guys

Thanks for the contributions and advice. But i have not been able to solve the problem.
what i need to achieve is to display one or more data from a row in table 1
such that whoever clicks on it will get corresponding rows from the other two tables.
ehmm, i think You need to work on your table design. Research on KEYS and table Relationship & sql Joins
ProgrammingRe: Opensource 3D Game Participation Call by codemarshal08(m): 8:55pm On Feb 13, 2015
ok bro, More Grease to ur elbow !!!

takes seat !
ProgrammingRe: Programmers In The House, Pls Come To My Rescue by codemarshal08(m): 2:52pm On Feb 05, 2015
braindollar:
tnx man wat of d average
Average = sum of input divided by the count .
hint: from phr3 answer,
use S/10

For More: Google is ur friend
ProgrammingRe: Just Beginning To Learn Programming by codemarshal08(m):
*Crack his throat ** You are welcome to the world of programming ! cool
----- my advice for u
* Don't involve yourself in language wars, it's a waste of time as every language has its strength and weakness
* Read Less and Practice More .... always get ur hands dirty with some codes
* Google is your Best Friend !
ProgrammingRe: Help With PHP MYSQL(UPDATE) by codemarshal08(m): 5:53am On Jan 29, 2015
ivcraig:
Codemarshal08, thank you so much for this piece of code. It worked smoothly like a charm. Bros lemme have u on speed dial, I've got a lot to learn from you. My Sensei.
i am glad u got the idea .
my mail : com(dot)gmail(at)codemarshal08 (READ FROM right to Left)
ProgrammingRe: Help With PHP MYSQL(UPDATE) by codemarshal08(m):
ivcraig:
Thanks CodeMarshal. Just what I need, the Edit Record Logic.
Lets Assume i want to edit user with ID 603,
i will create two pages Edit.php and update.php (Note: You can as well use a Page for both)

in Edit.php,

* store this id in a variable , like:
$userID = 603;

* then use this id in the WHERE clause of ur SELECT statement like:
SELECT something from TABLE WHERE id = 603

* retrieve the result result using:
mysql_fetch_array or stuff like that o

* save ur values u got from DB QUERY in variables like
$username = $row["username"];
$dept = $row["dept"];

* echo out ur form by attaching those variable u saved to the html tags like:

echo"<form action='edit' method='POST'>";
echo"<input type ='text' name='username' value='$username' />";
echo"<input type ='text' name='dept' value='$dept' />";

* Attach the id to a hidden text field (so u can retrieve it in the next page) something like:
<input type=''hidden' name='userID' value=$userID>

* remember to add a submit button to ur form o

In Update.php

* retrieve form value
i guess u can do this (hint: POST)

* use these values to update ur DB

hint: using UPDATE statement
ProgrammingRe: Help With PHP MYSQL(UPDATE) by codemarshal08(m): 8:13pm On Jan 28, 2015
ivcraig:
Nice one. Buh I'm trying to retrieve records and display them in a fieldset before updating
*use a SELECT statement to retrieve this info from ur db
*store this info in variables
*attach these variables to your form values while displaying them

*Ehm, are u getting errors from ur code or u are looking for the Edit Record Logic ?
ProgrammingRe: Help With PHP MYSQL(UPDATE) by codemarshal08(m): 5:36pm On Jan 28, 2015
what code have u tried ?
ComputersAm In Need Of A Qualified Printer Technician ! by codemarshal08(op): 9:45am On Jan 26, 2015
please do we have any skilled technician here ? i need to fix some of my office printers and photocopiers . if there is anyone who is or know someone who is, do pm me or post in this thread.

Location : Lagos
ProgrammingRe: To All Programmers, Today Is My Birthday! by codemarshal08(m): 9:19pm On Jan 16, 2015
#include <wishes bank>

int main(){

cout << "I WISH U A HAPPY BIRTHDAY BRO \n " ;

return 0;
}
ProgrammingRe: "Love At First Byte"! Your Story by codemarshal08(m): 6:15pm On Jan 14, 2015
KazukiIto:
It's still cpp bro - I still dnt understand my hardware well enough! If u r on whatsapp, pls buzz - 08067490432
seen
ProgrammingRe: "Love At First Byte"! Your Story by codemarshal08(m): 3:25pm On Jan 14, 2015
KazukiIto:
Wassup broda. Hw r ya doing?
cool. hope u still on da c++ matter ! any contact info ?
ProgrammingRe: "Love At First Byte"! Your Story by codemarshal08(m): 1:49pm On Jan 14, 2015
hey kAz, its been a while o... nice 1 though !
ProgrammingRe: I'm Learning Programming But... How Can I Code (as In ... In Real Life)??? by codemarshal08(m): 2:34pm On Jan 11, 2015
ehm, am not a guru yet !, but i will contribute (Quickly clears himself b4 he gets a knock for replying)



Op, Start by learning the basis of Programming. Do this in bits. Practice on every new concepts you learn.
*Don't try to learn everything at once. You can not become an expert overnight. Becoming comfortable with programming comes with practice.
*Dont try and memorize every syntax , u will know them while u keep using them.
*When You have a Program to solve, what u do is to try to understand the problem at hand. then break this problem into bits . and start solving it bit by bit.
ProgrammingRe: Single Vs Double Quotes In PHP by codemarshal08(m): 6:54pm On Jan 07, 2015
tobyemmanuel:
Very wrong. Try this out
HEy , What he said is true. Moreover the example you sited is very different from what meakhel illustrated in his first post.

NOTE: Am not an expert. I believe we are all here to learn !
ProgrammingRe: Must My Array Or Pointer Allocation Have A Limit In C Or C++? by codemarshal08(m): 10:25am On Jan 07, 2015
Op Check mnairaland answer. Use a Vector of ints. You can Push_back till mummy calls !
ProgrammingRe: Opensource 3D Game Participation Call by codemarshal08(m): 2:28pm On Dec 25, 2014
BlueMagnificent:
On behalf of the entire DARKDOVE Team, I'll like to wish everyone a Merry Xmas smiley
Happy Xmas bro......
ProgrammingRe: Opensource 3D Game Participation Call by codemarshal08(m): 5:27pm On Dec 22, 2014
Well, since am not there yet let me join da supporters group lol.
May u never Stop Progressing ooo !!! i love ur Courage @Blue Magnificent

hmm, i will love to work with u some day wink
ProgrammingRe: C++ Experts Pls Help Me . by codemarshal08(m):
hey, Try to Update your MinGw Compiler (the one that came with ur Dev cpp might be old ) and Set the PATH in your IDE Compiler Options to the Corresponding directories !

Download the Latest Version Here
http://sourceforge.net/projects/mingw/files/latest/download?source=files

i dont think it's Hard to install.

Hope this Helps

NOTE: In Programming World, You Dont Give up
ProgrammingRe: C++ Experts Pls Help Me . by codemarshal08(m): 8:02am On Dec 20, 2014
Ok, What version of Code Blocks did u download ? some versions do not contain the MinGW compiler
ProgrammingRe: C++ Experts Pls Help Me . by codemarshal08(m): 6:01am On Dec 20, 2014
baysan:
Yea,it installed suucesfull
But a simple hello world still fails 2 Run also
Can You snapshot the error messages and them post here ? You can also check if your compiler settings is like the one below

ProgrammingRe: C++ Experts Pls Help Me . by codemarshal08(m): 3:31am On Dec 20, 2014
baysan:
Thank u all 4 ur Concerns
I use Dev and not d Oda type
Av also tried Using Codeblocks bt d error Still persist
What is Mingw32 I came Across y troubleshooting?
its a compiler !, did u install code blocks successfully ? does the default hello world program runs ?
ProgrammingRe: Recommend A Compiler For C by codemarshal08(m): 9:35pm On Dec 13, 2014
Try out Codeblocks
http://www.codeblocks.org/
ProgrammingRe: Help With A Database Design Problem by codemarshal08(m): 3:17pm On Dec 07, 2014
CRAZYMADMAN:
thanks guys. I think I know how to go about it now
nice one, am happy for You !
ProgrammingRe: C++ Tutorial For Beginners... Part 1... by codemarshal08(m): 3:14pm On Dec 07, 2014
i just dey o, sharing time between work and coding !
ProgrammingRe: Microsoft Ports. NET To Linux And Macintosh, Goes Open-sources; Is Java Doomed? by codemarshal08(m): 11:53am On Dec 07, 2014
GodMode:
Every language can do almost the same thing.

But comparing programming languages is very very weird..
ProgrammingRe: C++ Tutorial For Beginners... Part 1... by codemarshal08(m): 11:33am On Dec 07, 2014
Eze, how is studies na ?
ProgrammingRe: C++ Tutorial For Beginners... Part 1... by codemarshal08(m): 5:44am On Dec 07, 2014
samlexxy:
good tutorial and write ups. I'd like if you could help me with. a program to print prime Numbers.
it has been solved on this thread before. Just Check previous Pages for the codes.
ProgrammingRe: Help With A Database Design Problem by codemarshal08(m):
CRAZYMADMAN:
I want to create a phonebook web app for a site that will have just the group name and the phone numbers. I have no problem with the PHP code, my problem is the design of the MySQL database, as one phonebook name should have many phone numbers, so what's character lenght should I set for the phone numbers or do I use different tables for that?

Please your help is highly appreciated.
Let me give u a hint .
* Create two tables, one to store names and one for phone numbers
*The names' table should have a primary key column
*The Telephone Table should have a column that would reference the primary key column in the names' table(i.e Primary key of the names table used as a foriegn key here )
*For data types, You can use Integer for numeric fields e.g Primary Key, Telephone and VACHAR or TEXT for strings Field e.g names
*For the relationship, this should be ONE to MANY (One Person can have as many Phone numbers as Possible)
*Hope my tips would help.

NOTE: i am not an expert , i Believe we are all here to learn .

ProgrammingRe: Video Tutorials On SQL, For Free by codemarshal08(m): 12:36pm On Dec 03, 2014
ibnSalaudeen:
i appreciate your positive response to my plight. adejaremola@gmail.com, 07061523033.
if you dont mind
You are Welcome. Do send your flash or call me whenever you need them !
NOTE: it's Free #noHiddenCharges lol
ProgrammingRe: Video Tutorials On SQL, For Free by codemarshal08(m): 6:12am On Dec 03, 2014
ibnSalaudeen:
yes, im in lagos. that means you want us to connect physically? i dont mind neither
No i want us to connect Spiritually grin lol ! just kidding

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