Click here to Skip to main content
14,602,156 members

C / C++ / MFC

 
Questionhow to solve riccati equation differential in c++ or java Pin
Member 1220870815-Dec-15 2:15
MemberMember 1220870815-Dec-15 2:15 
SuggestionRe: how to solve riccati equation differential in c++ or java Pin
Richard MacCutchan15-Dec-15 2:23
mveRichard MacCutchan15-Dec-15 2:23 
AnswerRe: how to solve riccati equation differential in c++ or java Pin
Daniel Pfeffer15-Dec-15 21:08
professionalDaniel Pfeffer15-Dec-15 21:08 
QuestionStrange compiler error Pin
ForNow14-Dec-15 6:14
MemberForNow14-Dec-15 6:14 
GeneralRe: Strange compiler error Pin
Richard MacCutchan14-Dec-15 6:50
mveRichard MacCutchan14-Dec-15 6:50 
GeneralRe: Strange compiler error Pin
ForNow14-Dec-15 6:58
MemberForNow14-Dec-15 6:58 
AnswerRe: Strange compiler error Pin
Jochen Arndt14-Dec-15 7:05
professionalJochen Arndt14-Dec-15 7:05 
QuestionProposal of a new C/C++ precompiler project Pin
Javier Luis Lopez13-Dec-15 23:52
MemberJavier Luis Lopez13-Dec-15 23:52 
Problems:
- C, C++ declining due python and other high level languages
- C, C++ programming structure comes from Jurassic era
- Programmers are always redesigning the wheel
- New software are heavy weight, so they takes lots of time to upload from hard disks
- Every time a new project is written it must be copied the functions so perhaps it exist different functions version in the hard disk
- In the hard disk exists dozen of projects with files and functions distributed in a unclear structure
Proposed solution:
To design a new precompiler (perhaps based in geany) that performs the following tasks:
- Look for all functions in a function directory
- Write them in a tree
- The user drags and drop the functions from the tree using the mouse
- The pre compiler writes the C program to be compiled using only the needed functions
- More over the precompiler can access to web sites with functions written by other users
- In the project it will appear a dictionary that advises what functions are used
- If a function is modified it advises of the affected projects in order to write it with different name
- It will be easily readable in a tree the functions dependence with other functions
- Build the makefile
- User can navigate through the project function tree structure to see one function
- The precompiler adds multithreading headers if it is possible when some functions works in parallel
- The precompiler can change the calling variable type with others (example double to float) and modifying internal function type definitions accordingly

As example the user can write an only one file named “matrix.cpp” that contains ALL matrix functions like the followings. The commented lines before explain the function.

//matrix2 is the inverse of matrix1. The matrix1 and 2 are squared
//matrices of NxN dimension
matrix_inverse(double *matrix1,double *matrix2,long N)

//high speed inverse of two arrays
matrix_inverse3x3(double *matrix1,double *matrix2) 

//matrix3=matrix1 x matrix2. The dimension of the 3 matrices is NxN
matrix_multiplier(double *matrix1,double *matrix2,double *result,long N)


How the function tree can be seen:
http://s12.postimg.org/q50hwfpnh/Proposal_of_a_modern_C.png
AnswerRe: Proposal of a new C/C++ precompiler project Pin
Richard MacCutchan14-Dec-15 3:12
mveRichard MacCutchan14-Dec-15 3:12 
GeneralRe: Proposal of a new C/C++ precompiler project Pin
Javier Luis Lopez14-Dec-15 21:21
MemberJavier Luis Lopez14-Dec-15 21:21 
QuestionRe: Proposal of a new C/C++ precompiler project Pin
David Crow15-Dec-15 5:47
MemberDavid Crow15-Dec-15 5:47 
AnswerRe: Proposal of a new C/C++ precompiler project Pin
Javier Luis Lopez16-Dec-15 23:26
MemberJavier Luis Lopez16-Dec-15 23:26 
QuestionRe: Proposal of a new C/C++ precompiler project Pin
david2111417-Dec-15 10:31
Memberdavid2111417-Dec-15 10:31 
QuestionCode Signing Verification Pin
Richard Andrew x6412-Dec-15 18:27
professionalRichard Andrew x6412-Dec-15 18:27 
AnswerRe: Code Signing Verification Pin
Garth J Lancaster12-Dec-15 18:59
professionalGarth J Lancaster12-Dec-15 18:59 
GeneralRe: Code Signing Verification Pin
Richard Andrew x6412-Dec-15 19:03
professionalRichard Andrew x6412-Dec-15 19:03 
QuestionNeed a suggestion in searching a file Pin
VISWESWARAN199812-Dec-15 5:18
professionalVISWESWARAN199812-Dec-15 5:18 
AnswerRe: Need a suggestion in searching a file Pin
Richard MacCutchan12-Dec-15 5:42
mveRichard MacCutchan12-Dec-15 5:42 
QuestionRe: Need a suggestion in searching a file Pin
VISWESWARAN199812-Dec-15 6:00
professionalVISWESWARAN199812-Dec-15 6:00 
AnswerRe: Need a suggestion in searching a file Pin
Richard MacCutchan12-Dec-15 6:23
mveRichard MacCutchan12-Dec-15 6:23 
QuestionRe: Need a suggestion in searching a file Pin
VISWESWARAN199812-Dec-15 7:29
professionalVISWESWARAN199812-Dec-15 7:29 
AnswerRe: Need a suggestion in searching a file Pin
Richard MacCutchan12-Dec-15 8:32
mveRichard MacCutchan12-Dec-15 8:32 
PraiseRe: Need a suggestion in searching a file Pin
VISWESWARAN199812-Dec-15 9:13
professionalVISWESWARAN199812-Dec-15 9:13 
QuestionRe: Need a suggestion in searching a file Pin
David Crow12-Dec-15 15:58
MemberDavid Crow12-Dec-15 15:58 
PraiseRe: Need a suggestion in searching a file Pin
VISWESWARAN199813-Dec-15 4:23
professionalVISWESWARAN199813-Dec-15 4:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.