Type: Posts; User: TheLionKing
Search took 0.01 seconds.
November 17th, 2014, 10:11 AM
November 13th, 2014, 08:11 PM
vladimirF that was by the way..we're here to talk messed up code.
Paul mckenzie..I find your code too heavy though..i didn't even know you could call a function in a struct like that..like how you...
November 13th, 2014, 03:20 PM
thanks paul! anyway is not homework...is me wanting the machine to do some daunting repetitive task for me...i got this part time job to put some numbers in order...and am trying to find a way to...
November 13th, 2014, 01:03 PM
November 13th, 2014, 12:57 PM
and you are right Paul! i need to use the STL more! but is not my fault..am in third year computer engineering...should be taking my degree in a couple of months...we were only taught how to program...
November 13th, 2014, 12:48 PM
my numbers are natural numbers...in cont3 there must be no repeating natural numbers...the pairing is insignificant in cont 3... but the rule is that i have to take the first two numbers of every...
November 13th, 2014, 12:44 PM
2kaud! :) of course with this explanation the code will surely crash!!! and it may crash still too if i use just int * pointer if my vector is moving about in memory...i have to read and go at the...
November 13th, 2014, 12:38 PM
oh a moment, i just learned something new...so with vector::iterator..pushback destroys the pointer? wow! so i may as well not use a vector::iterator but an int * chk2 no? anyway am gonna read on...
November 13th, 2014, 12:29 PM
i don't get your point, paul mckenzie, std::vector<int>::iterator chk1 and chk2 don't refer to a particular vector...the should be free to point to anyone, no???
and anyway... what the code is...
November 13th, 2014, 12:11 PM
am searching for materials again on debugging..hope to be able to do it soon! thanks
November 13th, 2014, 12:07 PM
yes man! unfortunately i've not been able to successfully learn how to debug with code::blocks..or with any IDE for that matter.I mean i haven't been able to find a step by step instruction on how to...
November 13th, 2014, 11:50 AM
/* this short code has to do this,
give an array of lenght 50, position (0,1) ,(5,6), (10,11), (15,16) and
so on till (45,...
October 4th, 2013, 05:46 AM
HI master 2Kaud...I needed to use this code you wrote for me last time...mmm trying to read it again I couldn't understand a step...
am gonna post the code and write in the comments...
August 5th, 2013, 04:20 PM
HI 2kaud...good evening master...please...i don't get what you mean by if(i+1)%70....in words...if i plus one divided by 70 gives no remainder??? is that what you mean?
August 5th, 2013, 12:01 AM
I notice the k<70 error...am gonna try it again..thanks
August 4th, 2013, 05:21 PM
am having problem asking for a new line when writing to a txt file...not working with std::endl and not with '\n'...i COMMENTED IN THE CODE BELOW WHERE THE PROBLEM ARISES....
July 29th, 2013, 02:27 AM
Am sorry guys but maybe i didnt make my self clear...because after trying to use the code of mckenzie and not getting the desired result plus GCDEF's comment make me understand that we're not...
July 28th, 2013, 06:26 PM
that is what i meant GCDEF...i was extracting numbers that occured only once in the row... anyway thanks very much 2kaud..am gonna familiarize my self very well with the STL...so GCDEF...you think...
July 28th, 2013, 05:14 PM
ok great...thanks very much Sir Mckenzie...I use this book called jumping into c++..alex allain..and it teaches debugging with codeblocks...first thing it ask to do is..go to Project/ build...
July 28th, 2013, 04:17 PM
OK thank you Sir Mckenzie..i use codeblocks and sometimes devc++(they come with compilers i actually dont know the name..i think i read gcc somewhere but am not sure) but mostly codeblocks...your...
July 28th, 2013, 03:35 PM
is really a pain in the backside when this homework **** comes up...and lets assume is a homework...if one is having a problem on a homework i think the person must ask for help no? IS NOT A HOMEWORK...
July 28th, 2013, 01:35 PM
Hi mr Paul,
well there are no four unique values on any row...the matrix am working on is a particular one and i just want to extract the non repeating values in tcopy...is not a general thing..but...
July 27th, 2013, 06:53 PM
Write your question here.
hello everyone, ok so i have an array matrix called tmat,,and i know that in every row of tmax there are values which repeat two times...and am writing a code to extract...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.