Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
Widdiful
Oct 10, 2012

 

Adbot
ADBOT LOVES YOU

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

big scary monsters
Sep 2, 2011

-~Skullwave~-
#include "alert.h"
#include "checkpoints.h"
#include "db.h"
#include "net.h"
#include "init.h"
#include "ui_interface.h"
#include <boost/algorithm/string/replace.hpp>
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>

What do each of these files do and refer to? What is the function of #include?

SYSV Fanfic
Sep 9, 2003

by Pragmatica

big scary monsters posted:

#include "alert.h"
#include "checkpoints.h"
#include "db.h"
#include "net.h"
#include "init.h"
#include "ui_interface.h"
#include <boost/algorithm/string/replace.hpp>
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>

What do each of these files do and refer to? What is the function of #include?

#include is a cpp (c pre-processor) directive that says "cut and paste this file here". "" indicates that it is in the specified relative path, while <> indicates that the pre processor should look in the system include files.

This is just technical mumbo jumbo for "send your internet funny money to hackers".

faxlore
Sep 24, 2014

a blue star tattoo for you!

#include "gas.h"

Valeyard
Mar 30, 2012


Grimey Drawer
triple.h

A Wheezy Steampunk
Jul 16, 2006

High School Grads Eligible!
i like
code:
import math
op

KOTEX GOD OF BLOOD
Jul 7, 2012

A Wheezy Steampunk posted:

i like
code:
import math
op
i need this irl

pram
Jun 10, 2001

big scary monsters posted:

#include "alert.h"
#include "checkpoints.h"
#include "db.h"
#include "net.h"
#include "init.h"
#include "ui_interface.h"
#include <boost/algorithm/string/replace.hpp>
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>

What do each of these files do and refer to? What is the function of #include?

it means c++ is a poo poo language

carry on then
Jul 10, 2010

by VideoGames

(and can't post for 10 years!)

A Wheezy Steampunk posted:

i like
code:
import math
op

#include <math.h> in real languages

maniacdevnull
Apr 18, 2007

FOUR CUBIC FRAMES
DISPROVES SOFT G GOD
YOU ARE EDUCATED STUPID

SYSV Fanfic posted:

#include is a cpp (c pre-processor) directive that says "cut and paste this file here". "" indicates that it is in the specified relative path, while <> indicates that the pre processor should look in the system include files.

This is just technical mumbo jumbo for "send your internet funny money to hackers".

at first i was all :rolleyes: but then i was like :getin:

A Pinball Wizard
Mar 23, 2005

I know every trick, no freak's gonna beat my hands

College Slice
no rabbit pun, :gas:

theadder
Dec 30, 2011


import Cocoa

du -hast
Mar 12, 2003

BEHEAD THOSE WHO INSULT GENTOO
Programmers Hate Him!!

This One Weird Trick Could Turn You Into The Worst YosPoster TODAY!!!

Widdiful
Oct 10, 2012

du -hast posted:

Programmers Hate Him!!

This One Weird Trick Could Turn You Into The Worst YosPoster TODAY!!!

how did you do it

du -hast
Mar 12, 2003

BEHEAD THOSE WHO INSULT GENTOO

Widdiful posted:

how did you do it

i looked at ur post history lmao

pseudopresence
Mar 3, 2005

I want to get online...
I need a computer!
Friday I was helping a colleague who needed to compike against a different version of OpenCV than the system installed version, every solution to this seems awful, what do grown-up programmers in real dev environments do

pram
Jun 10, 2001
use go

suffix
Jul 27, 2013

Wheeee!
today in our popular series tragedies of history re-enacted in unix

rm -f /usr/lib/libalexandria.so

pram
Jun 10, 2001
basically you're sol. if theres no package with the version you need you download and compile it. and then ldconfig. and now you have a unique snowflake in your environment, grats

suffix
Jul 27, 2013

Wheeee!

Fib posted:

Friday I was helping a colleague who needed to compike against a different version of OpenCV than the system installed version, every solution to this seems awful, what do grown-up programmers in real dev environments do

link statically would be the least painful option here

pram
Jun 10, 2001
so put it in /usr/local/lib and add that to ld.so.conf if its not there

hobbesmaster
Jan 28, 2008

Fib posted:

Friday I was helping a colleague who needed to compike against a different version of OpenCV than the system installed version, every solution to this seems awful, what do grown-up programmers in real dev environments do

which os

big scary monsters
Sep 2, 2011

-~Skullwave~-

Fib posted:

Friday I was helping a colleague who needed to compike against a different version of OpenCV than the system installed version, every solution to this seems awful, what do grown-up programmers in real dev environments do

pray for death

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

A Pinball Wizard posted:

no rabbit pun, :gas:

pseudopresence
Mar 3, 2005

I want to get online...
I need a computer!

The Linux. This poo poo is ironically way easier on Windows because it doesn't even TRY to have a package manager or a standard location for installed development libraries

SYSV Fanfic
Sep 9, 2003

by Pragmatica

Fib posted:

The Linux. This poo poo is ironically way easier on Windows because it doesn't even TRY to have a package manager or a standard location for installed development libraries

but, I mean, think of those precious kilobytes of mass storage being wasted by duplicate boost dlls on windows systems.

bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:

A Wheezy Steampunk posted:

i like
code:
import cars
op

FamDav
Mar 29, 2008
code:
#import "/dev/tty"
still gets most everyone i show it to

Silver Alicorn
Mar 30, 2008

𝓪 𝓻𝓮𝓭 𝓹𝓪𝓷𝓭𝓪 𝓲𝓼 𝓪 𝓬𝓾𝓻𝓲𝓸𝓾𝓼 𝓼𝓸𝓻𝓽 𝓸𝓯 𝓬𝓻𝓮𝓪𝓽𝓾𝓻𝓮
good poo poo OP

echinopsis
Apr 13, 2004

by Fluffdaddy
how did it take so long for click bait to be invented

A Wheezy Steampunk
Jul 16, 2006

High School Grads Eligible!

https://www.youtube.com/watch?v=uk2txnof-BY

SYSV Fanfic
Sep 9, 2003

by Pragmatica

FamDav posted:

code:
#import "/dev/tty"
still gets most everyone i show it to

Does that work the way you think it woud? too lazy to test.

FamDav
Mar 29, 2008
yes?

Moo Cowabunga
Jun 15, 2009

[Office Worker.




go to bed rabbit

Thanks Ants
May 21, 2004

#essereFerrari


no wabbit pun. disappointed.

big scary monsters
Sep 2, 2011

-~Skullwave~-

FamDav posted:

code:
#import "/dev/tty"

:eyepop:

Adbot
ADBOT LOVES YOU

SYSV Fanfic
Sep 9, 2003

by Pragmatica

FamDav posted:

code:
#import "/dev/tty"
still gets most everyone i show it to

lmao off. It does work.

  • Locked thread