Homebrew Where should I put conio.h?

titegtnodI

Well-Known Member
Newcomer
Joined
Nov 25, 2014
Messages
82
Trophies
0
Age
30
XP
139
Country
Canada
I'm a bit confused, why do you want a single header file? Just use the standard methods currently provided. I don't think putting conio.h anywhere is going to make it work.

Edit: Memory is coming back to me now, there is no reason to use this on the 3DS, or ever at all. It's an old deprecated library.
 

DarkFlare69

Well-Known Member
OP
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,750
Country
United States
I'm a bit confused, why do you want a single header file? Just use the standard methods currently provided. I don't think putting conio.h anywhere is going to make it work.

Edit: Memory is coming back to me now, there is no reason to use this on the 3DS, or ever at all. It's an old deprecated library.
I might be doing old school C or something... but how do you print a message using C? The way I remember required conio.h
 

capz

Well-Known Member
Newcomer
Joined
Nov 28, 2014
Messages
74
Trophies
0
Location
cake town
XP
112
Country
Netherlands
I might be doing old school C or something... but how do you print a message using C? The way I remember required conio.h

that only ever worked on windows and isn't even used to print text, it's used to control where in a cmd window to draw text, graphical style. Look at ctrulib because there is no standardized way to do this cross-platform.
 

filfat

CTO @ Nordcom Group Inc.
Member
Joined
Nov 24, 2012
Messages
1,261
Trophies
1
Location
Gothenburg, Sweden
Website
www.sweetsideofsweden.com
XP
1,749
Country
Sweden
I have the file, where do I put it? Assets folder? Build folder? Where?
That you even need to ask where to put a header file shows that you need to go and read up on some C and/or C++ then come back and read up on 3DS HB development to finally get developing ;)

(header-files is C/C++ development 101 :P)
 
  • Like
Reactions: Fpsrussia117

DarkFlare69

Well-Known Member
OP
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,750
Country
United States
That you even need to ask where to put a header file shows that you need to go and read up on some C and/or C++ then come back and read up on 3DS HB development to finally get developing ;)

(header-files is C/C++ development 101 :P)

I think they go in the data folder with main.c
 

ChrisRX

Well-Known Member
Member
Joined
Nov 8, 2006
Messages
490
Trophies
0
Website
Visit site
XP
420
Country
ok ill read some later

how to i #include <> a whole directory? or can it only be indiviual files at once

From the sort of questions you're asking it's obvious you're just getting started with C programming. Trying to write for the 3DS will probably just confuse you more than help you. If you tell us how you're learning C ie. books or websites we can probably help you find better resources to help you learn.
 
  • Like
Reactions: Fpsrussia117

DarkFlare69

Well-Known Member
OP
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,750
Country
United States
From the sort of questions you're asking it's obvious you're just getting started with C programming. Trying to write for the 3DS will probably just confuse you more than help you. If you tell us how you're learning C ie. books or websites we can probably help you find better resources to help you learn.

im trying to use websites. but heres the thing, i havent really bothered to try learning it much because there's no telling when fucking command line will let me make a file or give me errors. it pisses me off.
 

capz

Well-Known Member
Newcomer
Joined
Nov 28, 2014
Messages
74
Trophies
0
Location
cake town
XP
112
Country
Netherlands
im trying to use websites. but heres the thing, i havent really bothered to try learning it much because there's no telling when fucking command line will let me make a file or give me errors. it pisses me off.

The starting point is usually a book or real world class, and they would cover that there, after which you can explore on your own using the internet.
Having said that, you can stick the online examples into Visual Studio Community Edition, Dev-C++, Code::Blocks, or any other IDE. Just make a project in them and add the code. The complexities of dealing with makefiles are best left for once you have a better grasp of C or C++, whichever you decided to pick. That's my 2ct anyway.

I personally like Dev-C++ on windows because it's very basic and allows you to easy use makefiles if you choose to, or any other compiler options.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    HiradeGirl @ HiradeGirl: Have a nice day. Life. Week. Month. year.