Proposal of a new C/C++ precompiler project
-
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
-
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
-
Wrong place; please read http://www.codeproject.com/Messages/2922875/HOW-TO-ASK-A-QUESTION.aspx[^].
"Wrong place; please read" May be but I did not found a better place than "General Discussions>C-C++" and I can not move the post to other place and must not remove the post :(
-
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
So what exactly is your C / C++ / MFC question?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
So what exactly is your C / C++ / MFC question?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
There are some questions, not one: - If anyone is interested in help me to make the precompiler (I can extract the functions but not display them to drag&drop using mouse) - What is the right forum or subforum (in codeproject if possible) - If it exist a code editor where the precompiler can be added
-
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
Don't you think your first two assumptions are a bit like click-baiting for a response? One approach is to make your thesis into providing a "novice" or a Java or C# developer the ability to rapidly create a C/C++ application without having to know how to use pointers or code in the language. :cool: Look back at something called "Software through Pictures" STP, and there is another product one of the process control companies makes for modeling potential solutions. Good luck with that.