|
Grow Up
Phil Harding
|
|
|
|
|
Phil Harding wrote:
Grow Up
Phil Harding
Two words??? That's 4 words! and a smiley!
btw, I'm sure I've seen this code written elsewhere by another author. *stir, stir*
|
|
|
|
|
Strings.cpp<br />
F:\Projects\TestTheStrings\plArrays.hpp(154) : error C2182: '__formal' : illegal use of type 'void'<br />
F:\Projects\TestTheStrings\plStrings.hpp(38) : error C2440: 'initializing' : cannot convert from 'unsigned short [5]' to 'const char []'<br />
There is no context in which this conversion is possible<br />
F:\Projects\TestTheStrings\plStrings.hpp(1866) : error C2440: 'default argument' : cannot convert from 'unsigned short [3]' to 'char *'<br />
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br />
F:\Projects\TestTheStrings\plStrings.hpp(1867) : error C2548: 'ShowList' : missing default parameter for parameter 1<br />
F:\Projects\TestTheStrings\plStrings.hpp(1875) : error C2440: 'default argument' : cannot convert from 'unsigned short [3]' to 'const char *'<br />
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br />
F:\Projects\TestTheStrings\plStrings.hpp(1876) : error C2548: 'Save' : missing default parameter for parameter 2<br />
F:\Projects\TestTheStrings\plStrings.hpp(1887) : error C2440: 'default argument' : cannot convert from 'unsigned short [3]' to 'const char *'<br />
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br />
F:\Projects\TestTheStrings\plStrings.hpp(1888) : error C2548: 'Load' : missing default parameter for parameter 2<br />
F:\Projects\TestTheStrings\plStrings.hpp(2352) : fatal error C1506: unrecoverable block scoping error<br />
Error executing cl.exe.<br />
<br />
Strings.exe - 9 error(s), 0 warning(s)<br />
The following environment variables were not found<br />
$(ConfigurationName)
|
|
|
|
|
Remove default parameters in the lines where errors occur !
I updated the arrays.hpp so download again . If you have other problems get back to me .
I am the MIGHTY KEEPER of the BOOK OF KNOWLEDGE . Contact me to get your copy .
|
|
|
|
|
Thanks for the update, but I am still seeing problems:
If I compile it in Win32 ReleaseU, I get this message:
F:\Projects\TestTheStrings\plStrings.hpp(35) : error C2440: 'initializing' : cannot convert from 'unsigned short [5]' to 'const char []'<br />
There is no context in which this conversion is possible
For this line:
const TCHAR Blanks[] =_T("\r\n\t ");
Also seeing:
F:\Projects\TestTheStrings\plStrings.hpp(1752) : error 2039: 'plPointersT' : is not a member of 'Arrays'
For this line:
Arrays::plPointersT<1,StrEl> m_lstStrings;
Also getting errors on _vscwprintf for the two places where it is used.
|
|
|
|
|
make the size of blanks 5.
and check the updated zip file .
let me know when it works and what changes you made and place them here for others to see them .
I am the MIGHTY KEEPER of the BOOK OF KNOWLEDGE . Contact me to get your copy .
|
|
|
|
|
Strings.cpp<br />
F:\Projects\TestTheStrings\Strings.cpp(3) : warning C4616: #pragma warning : warning number '0' out of range, must be between '1' and '4'<br />
F:\Projects\TestTheStrings\plPointersT.hpp(9) : error C2182: '__formal' : illegal use of type 'void'<br />
F:\Projects\TestTheStrings\plStringT.hpp(1483) : fatal error C1506: unrecoverable block scoping error
|
|
|
|
|
Damn! You can`t fix that?
Just change to 1 if 0 is unfit . Or any other .
Replace second error with this :
template <bool bfreeafter,typename="" type,uint="" preblock="256">
we remove the predfeined void type .
and make sure you replace old files with updated ones .
then remove predefined params again and maybe finally it`ll work .
my best advice : evolve - vs.net 7.1 .
I am the MIGHTY KEEPER of the BOOK OF KNOWLEDGE . Contact me to get your copy .
|
|
|
|
|
I wiped my project from the disk and replaced the old files with the updated files. Still getting massive compile errors even with these recommended changes.
This is not worth the headache and hassle.
"Maybe it will work" is not acceptable. Neither is "evolve". You posted this code. I shouldn't have to waste time debugging it or making it work. Perhaps you should post a disclaimer that it only works under .NET
|
|
|
|
|
I have no idea how you posted an article here if you can`t get rid of some lame compilation error generated by unwanted parameters and other stuff .
I can`t install 2 visual studios just to keep some guys with windows 9x satisfied . It just doesn`t work like that .
I`ve used several articles from here and the code was not working . I fixed them and that`s it .
My article is not for any lame dude who thinks he`s a software engineer .
First learn than ...
I am the MIGHTY KEEPER of the BOOK OF KNOWLEDGE . Contact me to get your copy .
|
|
|
|
|
Just ignore people who complain constantly and you'll live a much happier life. If they have problems, offer a little advice and let them take it from there, but flaming back and forth will do nothing for you but get you bad ratings. I'd also suggest removing the "go learn a bit more" in the warning at the top, it just makes you look bad, insulting people doesn't do anyone any good.
-- Rocky Dean Pulley
|
|
|
|
|
I hope you first read the thread to see what others don`t understand and the advice given .
I did not ignore it but I can`t install vc6 just to see that it has problems with wide predefined params .
I did not insult anyone that doesn`t deserve it and wasn`t just moments away from asking dumb questions .
To be a coder you don`t just have to create an account here you have to learn a lot . You can`t ask any minor thing everytime . Very good books are out there just waiting to be read and to enlighten the reader .
And I won`t remove that comment . I`ll remove the rate me stuff . I don`t need any ratings . I just wanted to share some usefull code . If you appreciate that or not it`s your problem not mine .
I was planning on sharing a huge library I worked on but I won`t anymore . What`s the point . To few to actually appreciate and enjoy it .
Thanks for the comment .
I am the MIGHTY KEEPER of the BOOK OF KNOWLEDGE . Contact me to get your copy .
|
|
|
|
|
I understand your concerns, I'm just giving this advice because according to your bio you are looking for consulting gigs as well. If you want to get consulting gigs from here that is the point of posting your stuff, and you need to be truly professional. Working as a consultant you will constantly come across people who know absolutely nothing about the technologies they are working with and ask some of the simplest questions about the subjects. You won't get anywhere if you are going to insult these people, even if they do deserve it as you say. The way you present yourself in these forums is how people will percieve you and will affect you getting these consulting jobs as well. That's just my point, I wasn't trying to ream you for the attitude or anything.
-- Rocky Dean Pulley
|
|
|
|
|
I will try your String Class and post a review here, as these days i am trying my hand in developing COM Dll, so there is always need of Robust String Class for handlling internal data.
till now i am using CCOMString Class, and tried my hand in old std::string too,but none statisfied my needs.
if it really worth you will got my Fiver else i will not vote, i have a simple motto Vote 5 or nothing
thanks for providing it
"I Think this Will Help"
<h5
alok gupta="" <br=""> visit me at http://www.thisisalok.tk
|
|
|
|
|
|
MString : http://mstring.sourceforge.net/start.html (NOT UNICODE)
UString : http://sourceforge.net/projects/ustring/ (UNICODE)
Thanks ALOTS TomKat !!!
Kochise
In Code we trust !
|
|
|
|
|
I really don`t understand your comment . Do you by any chance imply that I have stolen the code or anything ? Please reply .
And then in your great wisdom check out codeproject.com and see how many articles treat the same thing but in a totally different manner . I don`t think the code you provided looks like mine , does what mine does and I honestly don`t give a f**k . I`m not even going to download it to check it out .
If you don`t like mine delete it , don`t use it but don`t make comments that are totally inappropriate .
I think I`ve sorted this one out . I`m gonna stop writing here before I really loose it !
|
|
|
|
|
...are not mine, I just provided the links because they are closes from this Ultimate string You get bored from my post ? Hey, calm down, it's just to provide you some source of knowledge if you ever wanted to get a look at similar project...
The purpose is not to 'stole' anything, just to 'get' ideas Now your reply sadden me alot...
Kochise
In Code we trust !
|
|
|
|
|
It`s the 5th time I`m accused of stealing code and stuff and I`ve had enough of it . I might be the only author on CP who has deleted articles .
As you may see there are many articles on API hooking . I read them and provided and excellent and easy to use wrapper on imported functions hooking . A lot of work excellent results but a bunch of lamers explained how they could do it better and they`ve been doing this for years . I deleted them . Then I get 10s of mail to send them to people .
I don`t care about other implementations . This is dedicated to MS C++ . Those might be cross-platform , cryptically written . I wrote these to be as easy to use as it gets . If you looked at the code you would have realized that they don`t look a like at all . I still have many functions to implement and I don`t think you`ll find others easier to use and cleaner written .
My reply may have been a little ... but your comment was not best intended (I really got mad reading the THANKS A LOT PART .) I might have understood something completely different from what you SAY you meant , but I won`t appologize because I know what you really meant . And you comment was caused by something called envy and I can live with that .
Anyway check the code out and then I hope you`ll change you opinion .
Let me know .
PS: There are other implementations on codeproject too .
|
|
|
|
|
"I might have understood something completely different from what you SAY you meant , but I won`t appologize because I know what you really meant ."
That's REALLY SELFISH ! So you better know what I meant than myself ? Stop being such a paranoid one, your code is the best, the most beautiful, everyone will stole it, Microsoft will hire you in minutes, you're the new Linus Torvald, you'll make the new BYTE cover for 10 months++
Something wrong with ya fella ? That's your right to delete your articles if you're afraid some people might have a look at it :/ But I not accused you of stealing code, just putting some related links on your page, making it like a bookmark for me and many people.
But obviously you don't cope with critisism and competition that may faden your glory of having wrote the 1000s string library :/
Wake up of your dream, you're not the next Bill Gates, take a breath, then return hiding yourself under the claims everybody hates you, wants about your knowledge with "something called envy" !
I won't change my opinion, thanks alot, the world is better with diversity, your code is a good contribution, people have the right to know also some more works without having to google for hours, that's why I put some links...
Ho well, sorry, you know better than me why I put them here, to prove everybody you stolen the code :/ I may confess you, I'm the real right owner of the... addition, the '+', that's me who 'invented' it, everyone should bend before me !
There is no several ways to do an addition, there is not very more ways to do a string library. Some other people should have 'invented' a string library, and thus you should have 'invented' your one. That's was the REAL PURPOSE of the links, not to prove anything, just to link these 'inventions'...
Well, just have to vomit your previous brain-sick post, give me 5 minutes...
Kochise
PS : I like your code, now if I change my opinion, it would result in -> I HATE YOUR CODE ! Is that what you really want ?
In Code we trust !
|
|
|
|
|
You`re funnier than me .
If everyone thought like you no Bill Gates would have ever come up !
When you have something that works you don`t look for alternatives .
It`s like making something and saying : Try others . Maybe they`ll be better .
I really don`t think so . But I won`t argue with you anymore .
I need people with wider visions to argue with me . And I`ve seen your contributions :->
PS: I alos love your haircut .
END OF DISCUSSION
|
|
|
|
|
TheAuthor wrote:
I need people with wider visions to argue with me .
Why, to see around your big head?
And, since you like to argue with people on your level: You can no say I nevered stoled coded something not ever. I am Bill Not Gates. I just just don't never understand why you saying u stoled code and doesn't spoken coherently.
Jeremy Falcon
|
|
|
|
|
Dude , use some spell-checkers ! U really need them . And you`re American ? You didn`t go to your English classes , did you Naughty Boy !
|
|
|
|
|
And yet you missed the point entirely. 'Nuff said.
Jeremy Falcon
|
|
|
|
|
"When you have something that works you don`t look for alternatives. It`s like making something and saying : Try others . Maybe they`ll be better. I really don`t think so."
Once a day, I tried a bicycle and found nothing can beat that fabulous vehicle.
"I need people with wider visions to argue with me."
I rode along the way, and some people riding horses or driving cars told me to try something else to go ahead else fashioned. Horses fits better !
"But I won`t argue with you anymore."
You're definitively a pedestrian !
Kochise
In Code we trust !
|
|
|
|