Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Possible solution of "icpp problem"
Re: Possible solution of "icpp problem" [message #46934 is a reply to message #46933] Fri, 23 September 2016 09:26 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
kov_serg wrote on Fri, 23 September 2016 00:32
May be something like this?
// lib1.h
#pragma once

int lib1_init();

#ifndef IMPL
int lib1_init_res=lib1_init();
#endif

// lib1.cpp
#define IMPL
#include "lib1.h"
#include <stdio.h>

int lib1_init() { printf("lib1\n");return 0; }



Sure, this is basically what this forum thread proposes in the first post Smile
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Solved] Instant Upp crash on char input
Next Topic: Parser error: Unterminated string
Goto Forum:
  


Current Time: Sat May 11 06:12:20 CEST 2024

Total time taken to generate the page: 0.01714 seconds