On April 22 2016 06:14 Wrath wrote:
How to gain experience without job?
How to gain experience without job?
Try to contribute to some open source projects?
Write something on your own?
Become a wizard at a MUD? (I did that, awesome experience)
| Forum Index > General Forum |
Thread Rules 1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution. 2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20) 3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible. 4. Use [code] tags to format code blocks. | ||
|
Manit0u
Poland17671 Posts
April 21 2016 21:30 GMT
#14401
On April 22 2016 06:14 Wrath wrote: How to gain experience without job? Try to contribute to some open source projects? Write something on your own? Become a wizard at a MUD? (I did that, awesome experience) | ||
|
tofucake
Hyrule19193 Posts
April 22 2016 12:40 GMT
#14402
| ||
|
waffelz
Germany711 Posts
April 24 2016 20:40 GMT
#14403
Visual Studio keeps telling me that in the marked line there is no type specified and no ";" in front of the "*" and I cant figure out why... What is the obvious thing I miss here? I suggest the error lies somewhere else and the message is just misleading, but I don't know where since the color.cpp/.h only contains trivial code. If I leave the line out, everything builds fine. | ||
|
CoughingHydra
177 Posts
April 24 2016 21:06 GMT
#14404
class Panel | ||
|
zatic
Zurich15362 Posts
April 24 2016 21:10 GMT
#14405
On April 25 2016 06:06 CoughingHydra wrote: Shouldn't class end with ";" ? I mean class Panel Never mind thought you were asking a genuine question. | ||
|
waffelz
Germany711 Posts
April 24 2016 21:10 GMT
#14406
On April 25 2016 06:06 CoughingHydra wrote: Shouldn't class end with ";" ? I mean class Panel I just failed to copy that since there is quite some code in between. Fixed it in my example. | ||
|
spinesheath
Germany8679 Posts
April 24 2016 21:18 GMT
#14407
On April 25 2016 05:40 waffelz wrote: Visual Studio keeps telling me that in the marked line there is no type specified and no ";" in front of the "*" and I cant figure out why... What is the obvious thing I miss here? I suggest the error lies somewhere else and the message is just misleading, but I don't know where since the color.cpp/.h only contains trivial code. If I leave the line out, everything builds fine. Can you use Color* anywhere else? Maybe the error is somewhere in color.h. | ||
|
waffelz
Germany711 Posts
April 24 2016 21:20 GMT
#14408
| ||
|
CoughingHydra
177 Posts
April 24 2016 21:22 GMT
#14409
On April 25 2016 06:10 waffelz wrote: Show nested quote + On April 25 2016 06:06 CoughingHydra wrote: Shouldn't class end with ";" ? I mean class Panel I just failed to copy that since there is quite some code in between. Fixed it in my example. What about #include <String>. Try changing to lower case <string>. EDIT: Never mind, I forgot this is visual which I know nothing about, I'm using g++... | ||
|
waffelz
Germany711 Posts
April 24 2016 21:25 GMT
#14410
On April 25 2016 06:22 CoughingHydra wrote: Show nested quote + On April 25 2016 06:10 waffelz wrote: On April 25 2016 06:06 CoughingHydra wrote: Shouldn't class end with ";" ? I mean class Panel I just failed to copy that since there is quite some code in between. Fixed it in my example. What about #include <String>. Try changing to lower case <string>. No luck. Changed it anyway though. To much java lately. | ||
|
waffelz
Germany711 Posts
April 24 2016 21:32 GMT
#14411
EDIT: Nope, the errors get even weirder lol | ||
|
Khalum
Austria831 Posts
April 24 2016 22:04 GMT
#14412
| ||
|
Shield
Bulgaria4824 Posts
April 24 2016 23:04 GMT
#14413
+ Show Spoiler + Panel.h + Show Spoiler +
Printer.h + Show Spoiler +
Colour.h + Show Spoiler +
Why are you using raw pointers anyway? ![]() | ||
|
Acrofales
Spain18219 Posts
April 25 2016 00:27 GMT
#14414
On April 25 2016 05:40 waffelz wrote: Uhm... I might be totally blind because I already code for a long time now, but whats wrong with this:
Visual Studio keeps telling me that in the marked line there is no type specified and no ";" in front of the "*" and I cant figure out why... What is the obvious thing I miss here? I suggest the error lies somewhere else and the message is just misleading, but I don't know where since the color.cpp/.h only contains trivial code. If I leave the line out, everything builds fine. Given that none of the suggestions so far worked, I'm going to suggest there is something in someatributes that is wrong. For starters, its spelling ![]() Other than that, my main expectation is that there's something wrong in printer, rather than color. Did you try switching those two statements? Note that the last time I coded c++ is a while back, but it doesn't look like the error is in the code you posted. | ||
|
Blisse
Canada3710 Posts
April 25 2016 02:31 GMT
#14415
did you add Color.cpp to your makefile? | ||
|
waffelz
Germany711 Posts
April 25 2016 05:26 GMT
#14416
On April 25 2016 08:04 Shield wrote: #pragma once seems to work fine for me. + Show Spoiler + Panel.h + Show Spoiler +
Printer.h + Show Spoiler +
Colour.h + Show Spoiler +
Why are you using raw pointers anyway? ![]() Because of reasons far beyond all human comprehension. + Show Spoiler + (Mostly because of the retarded circumstances of this assignment and because of my prof )On April 25 2016 11:31 Blisse wrote: you really need to post all the code for the Color class because that's probably where the error is given that it doesn't understand that the class exists did you add Color.cpp to your makefile? At the time I was working on windows. Thanks for all the help, the problem remains a mystery... My last solution was to transfer the whole project to my laptop where everything build fine while still giving the same error on my desktop. Now after getting up, I tried my desktop again because I was to tired to remember having switched to my laptop AND EVERYTHING WOKRS?! The original project before the transfer as well as the only slightly modified version from my laptop. Either it was too close to midnight or I am starting to lose my mind. It just doesn’t make sense and now I am really pissed off, having lost multiple hours on an apparently non-existent issue. | ||
|
WolfintheSheep
Canada14127 Posts
April 25 2016 06:40 GMT
#14417
On April 25 2016 14:26 waffelz wrote: Show nested quote + On April 25 2016 08:04 Shield wrote: #pragma once seems to work fine for me. + Show Spoiler + Panel.h + Show Spoiler +
Printer.h + Show Spoiler +
Colour.h + Show Spoiler +
Why are you using raw pointers anyway? ![]() Because of reasons far beyond all human comprehension. + Show Spoiler + (Mostly because of the retarded circumstances of this assignment and because of my prof )Show nested quote + On April 25 2016 11:31 Blisse wrote: you really need to post all the code for the Color class because that's probably where the error is given that it doesn't understand that the class exists did you add Color.cpp to your makefile? At the time I was working on windows. Thanks for all the help, the problem remains a mystery... My last solution was to transfer the whole project to my laptop where everything build fine while still giving the same error on my desktop. Now after getting up, I tried my desktop again because I was to tired to remember having switched to my laptop AND EVERYTHING WOKRS?! The original project before the transfer as well as the only slightly modified version from my laptop. Either it was too close to midnight or I am starting to lose my mind. It just doesn’t make sense and now I am really pissed off, having lost multiple hours on an apparently non-existent issue. You're officially a programmer now. | ||
|
waffelz
Germany711 Posts
April 25 2016 07:04 GMT
#14418
On April 25 2016 15:40 WolfintheSheep wrote: You're officially a programmer now. haha, yeah. That the error is seemingly gone without reason is almost worse now lol.... I have a really hard time accepting that the compiler just had flatulence. There HAS to be a reason! ![]() | ||
|
Khalum
Austria831 Posts
April 25 2016 09:29 GMT
#14419
| ||
|
Acrofales
Spain18219 Posts
April 25 2016 10:31 GMT
#14420
On April 25 2016 16:04 waffelz wrote: haha, yeah. That the error is seemingly gone without reason is almost worse now lol.... I have a really hard time accepting that the compiler just had flatulence. There HAS to be a reason! ![]() Could be that you forgot to call "make clean". I know that has cost me headaches worth of debugging... But yes, I think every programmer worth his salt has spent hours being frustrated at a problem, deep into the night. And the next morning it turns out that the problem was completely trivial to solve, and you do it in 2 lines of code and 3 minutes. Feeling both victorious and relieved, as well as incredibly frustrated at the same time. | ||
| ||
StarCraft 2 mouzHeroMarine StarCraft: Brood Warelazer Harstem UpATreeSC JuggernautJason58 goblin ForJumy Livibee Counter-Strike Super Smash Bros Heroes of the Storm Other Games Grubby6385 FrodaN2569 Beastyqt460 shahzam434 ToD178 mouzStarbuck173 ArmadaUGS169 C9.Mang0145 QueenE124 TKL Dewaltoss67 minikerr4 Organizations Counter-Strike Other Games StarCraft 2 StarCraft: Brood War
StarCraft 2 • davetesta17 StarCraft: Brood War• Reevou • IndyKCrew • sooper7s • AfreecaTV YouTube • Migwel • intothetv • LaughNgamezSOOP • Kozan Dota 2 League of Legends Other Games |
|
Replay Cast
CasterMuse Showmatch
Light vs Queen
WardiTV Winter Champion…
The PondCast
Replay Cast
Korean StarCraft League
CranKy Ducklings
SC Evo Complete
Replay Cast
Sparkling Tuna Cup
[ Show More ] uThermal 2v2 Circuit
Replay Cast
Wardi Open
Replay Cast
|
|
|