Programming › Re: "Qt Creator" Need Solution by ijeezlux(m): 10:17am On Mar 19, 2016 |
BlueMagnificent: Its so unfortunate that we are temporarily hijacking this thread 
Quoting from the link posted by codemarshal08
I believe from the doc it is only the storage and retrieval of complex types that might vary with version, basic datatypes are not affected by this
@bestiyke, have you been able to resolve your QtCreator issue can you please name some of the complex data types that may vary with version |
Programming › Re: "Qt Creator" Need Solution by ijeezlux(m): 9:49am On Mar 19, 2016 |
QFile file("file.Bleep" ; file.open(QIODevice::WriteOnly); QDataStream out(&file);
// Write a header with a "magic number" and a version out << (quint32)0xA0B0C0D0; out << (qint32)123;
out.setVersion(QDataStream::Qt_4_0);
// Write the data out << lots_of_interesting_data;
Then read it in with:
QFile file("file.Bleep" ; file.open(QIODevice::ReadOnly); QDataStream in(&file);
// Read and check the header quint32 magic; in >> magic; if (magic != 0xA0B0C0D0) return XXX_BAD_FILE_FORMAT;
// Read the version qint32 version; in >> version; if (version < 100) return XXX_BAD_FILE_TOO_OLD; if (version > 123) return XXX_BAD_FILE_TOO_NEW;
if (version <= 110) in.setVersion(QDataStream::Qt_3_2); else in.setVersion(QDataStream::Qt_4_0);
// Read the data in >> lots_of_interesting_data; if (version >= 120) in >> data_new_in_XXX_version_1_2; in >> other_interesting_data; what if the qint32 value read from the qdatastream to the qint32 version variable is not 123.... what will happen |
Programming › Re: "Qt Creator" Need Solution by ijeezlux(m): 9:41am On Mar 19, 2016 |
|
Programming › Re: "Qt Creator" Need Solution by ijeezlux(m): 8:08pm On Mar 18, 2016 |
hello gurus i have a little issue i need you guys to help me clarify ...... it goes like this.. when writing or reading data into qdatastream object, is it a must that i set the version of the Qt am using e.g (Qdatastream stream; stream.setVersion(...); ). i also have another question. i always see a certain quint32 magic_number variable when doing data serialization with Qdatastream object. but i dont really know whats the main function of this magic_number variable. is it a must to use it? it making me confused...... thanks in advance for ur answer |
Programming › Re: "Qt Creator" Need Solution by ijeezlux(m): 7:56pm On Mar 18, 2016 |
BlueMagnificent: Quite an interesting problem cos mine ran straight from the box after installation. My system is Win7 64bit and QtCreator is my ide of choice for coding both qt and non-qt projects. How do you start it up? Having you tried starting it up directly from the executable in the installation directory its being a while i heard from this guy(bluemagnificient)... it was your trend you created about Qt that really made meand inspired me to switch over to c++ gui programming. in fact i first heard about Qt in one of your trend. you are too much. just wish i could chat with you on other platform. all the same kudos to you and codemarshal |
Programming › Re: "Qt Creator" Need Solution by ijeezlux(m): 2:20pm On Mar 17, 2016 |
peterincredible: for those of u who are interested in c++ and is comfortable with the language i think the next book to read is effective c++ by scott meyer if u read that book i swear u will have a deaper understanding of c++ and tanks to ijeezux for recommending programming in c++ this book is good for absolute beginners and it will take u down to intermediate level . Buy that book and u will tank me later Lol........... u are welcome |
Programming › Re: "Qt Creator" Need Solution by ijeezlux(m): 10:19pm On Mar 14, 2016 |
But I never had any issue while installing mine |
Programming › Re: Message To Nairaland Programmers On Programming and Success by ijeezlux(m): 10:34am On Mar 11, 2016 |
Celebrimbor: A round of applause for the OP. alot of programmers here forget that great things are achieved only through teamwork. the Facebook we see today and attribute to Mark Zuckerberg is actually the work of thousands of intelligent engineers at Facebook who took Mark's initial ideas and product and developed it into something awesome. The same thing with Google, Microsoft, Intel, the Linux kernel and a host of other. Teamwork is a much more valuable skill than pure genius. A great team of 10 mediocre programmers is far better than a single genius programmer. So please Ninja coders, we salute your awesome brainpower but learn to be teamplayers. Are u a programmer.... If yes then let's form a team |
Programming › Re: Is There Any Programmers Left In Delta State by ijeezlux(op): 2:19pm On Feb 27, 2016 |
|
Programming › Re: Is There Any Programmers Left In Delta State by ijeezlux(op): 6:59pm On Feb 17, 2016 |
correction is allowed here but this is not an English class... so we should talk more of programming... I think we should find a way to connect ourselves... I mean programmers in delta and warri |
Programming › Re: Is There Any Programmers Left In Delta State by ijeezlux(op): 6:29am On Feb 15, 2016 |
pls I need you guys to help me parse this string. "-234+18*34+653/23" |
Programming › Re: Is There Any Programmers Left In Delta State by ijeezlux(op): 6:21am On Feb 15, 2016 |
nobody is a fool here and we don't intend to be a fool.... we all are pressing towards perfection when it comes to english. any way let's not deviate from the core topic...... anyway am in to c++ , Qt , python and mysql |
Programming › Re: Is There Any Programmers Left In Delta State by ijeezlux(op): 4:22pm On Feb 13, 2016 |
losprince: No bro we all moved to the states lol!!!!!!!!!!!!!!!!!!!!!! funny dude.. where in the state did u migrate to....., may be am the last man standing in delta state |
Programming › Is There Any Programmers Left In Delta State by ijeezlux(op): 10:21am On Feb 13, 2016 |
I know Lagos is the hub of programming in Nigeria.... being a programmer in delta is like just ostracizing yourself from the rest of the world...so I just want to find out if there are still programmer in delta, may be we could meet and get to share ideas together. thanks... reach me with 08036407597 |
|
Programming › Re: Hospital Management System Program. by ijeezlux(m): 1:18pm On Jan 31, 2016 |
how can one develop his or her graphic user interface skill?........ is there any website that help and also give practical example..........? |
|
Science/Technology › Re: Mtn Free 3GB/6GB Imei Tweaking by ijeezlux(m): 9:32pm On Oct 08, 2015 |
pls guys add me to the group 08036407597 |
Sports › Re: The Secrets To WRECK Nairabet And Other BOOKMAKERS Every Week On Sports Betting by ijeezlux(m): 2:42pm On Oct 01, 2015 |
alanbeiber@gmail.com |
|
Programming › Re: C++ Gurus Get In Here Lets Dissect C++. C++ A_z Tutorials. by ijeezlux(m): 1:45pm On Jul 18, 2015 |
i have a little issue that i need u guys to help me clarify.... i built a class and i intend to store uncountable number of the class object in a randam access file. in the implementation of the class there is a private data member of type char eg char client_id[11]; ..... since the file is a random access file i can access any record in the file instantly without starting from the begining of the file. my intention to use the client_id as my unique key to instantly access any of the record in the file that i wish to. for instance let me say the the client_id is (client_id="306AGHg152"  . so how can i use this client_id which is my unique key to search for the object whose client_id is (client_id="306AGHg152"  . pls c++ gurus in the house, i meed ur contribution |
Programming › Re: Hope For C++ Newbies: Gui Toolkits by ijeezlux(m): 7:38pm On Jun 12, 2015 |
Hey guys.. i really commend all ur effort in this forum. Please j need u guys to help me explain how to QDir class member function path(). Thanks |
Phones › Re: What's Your Current Best Data Subscription For Android? by ijeezlux(m): 4:27pm On May 06, 2015 |
khassy: holla at my siggy
no pay anybody ooo helo my humble friend. Would like to chat wit u in whatsapp. My numb is 08036407597. Plz snd me a mesage. Tnks |
Phones › Re: What's Your Current Best Data Subscription For Android? by ijeezlux(m): 1:25pm On May 06, 2015 |
khassy: common 56g you are shouting
so what should I do with my 128G.... scream abi die
and you d even ask for money for wetin you learn free of charge
holla @ my siggy to learn please my friend am in die need of data becos of a program am learn online. Plz i wil b very grateful if u can tel me how to get mtn free 2gb or 4gb. If u fil this is nt d ryt medium to tel me how to do it, u can send me a mesage tru my email ijeezlux@gmail.com tanks alot |
Programming › Re: I Want To Learn Programming. Which Language Should I Start With? by ijeezlux(m): 10:15am On May 06, 2015 |
|
Programming › Re: I Want To Learn Programming. Which Language Should I Start With? by ijeezlux(m): 8:13am On May 06, 2015 |
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 |
Programming › Re: I Want To Learn Programming. Which Language Should I Start With? by ijeezlux(m): 8:05am On May 06, 2015 |
codemarshal08: In Line 16, Remove the Quotes around the Expression. it should be : if(sumTotal => 5) 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 |
Programming › Re: C++ Gurus Get In Here Lets Dissect C++. C++ A_z Tutorials. by ijeezlux(m): 5:13pm On May 04, 2015 |
Borwe: Bro if in Linux just press ctrl+D instead of adding input. or input something that isn't an integer EG a letter. lol... Bro u ar on the ryt track. U got it ryt. Inputing Eof (end of file) wil halt the loop which is ctrl + z in window or ctrl + d in linux. Its not advisable to halt it by inputing a different data type because dis myt affect the istream else where in the program |
Programming › Re: C++ Gurus Get In Here Lets Dissect C++. C++ A_z Tutorials. by ijeezlux(m): 5:12pm On May 04, 2015 |
quote author=Borwe post=33118503]
Bro if in Linux just press ctrl+D instead of adding input. or input something that isn't an integer EG a letter.[/quote]lol... Bro u ar on the ryt track. U got it ryt. Inputing Eof (end of file) wil halt the loop which is ctrl + z in window or ctrl + d in linux. Its not advisable to halt it by inputing a different data type because dis myt affect the istream else where in the program |
Programming › Re: C++ Gurus Get In Here Lets Dissect C++. C++ A_z Tutorials. by ijeezlux(m): 11:00am On Apr 23, 2015 |
a little brain teaser for u. How can u halt ds loop int i; while(cin >>i) { . . } |
Programming › Re: Need Programmers Help Please by ijeezlux(m): 4:05pm On Apr 20, 2015 |
kudaisi: Which programming language are you most comfortable with ? So i can decide on which language to guide you with. NOTE: It has to be within the following languages as they are the ones I am most comfortable with...C#, Java, Python and C++. I've worked on something like this before in python so it will just be a matter of modifying the code. hello my humble friend, i av bin reading some of ur post on nairaland and i must confess that de have bin very informative. The fact is that am a c++ programmer though am still upcoming. Plz if u dnt mind, can i av ur contact eg phone numb or facebook name. So i can communicate with you more often. Wel my numb is 08036407597 u can cal or send me a whatsapp message if you wish. Thanks |
|