Search:
Type: Posts; User: alwaystudent
Search:
Search took 0.04 seconds.
-
December 15th, 2021, 12:58 PM
in Java 8, windows 10, i have a text app, i want to open a console and write something there,
first try is:
String [] cmd = {"cmd.exe", "/c", "start"};
ProcessBuilder f = new...
-
August 27th, 2019, 07:07 PM
Assuming there are expressions in the code in the log, then searching for the log expression can lead to lines or lines of source code
One recipe can be this
1- Find the first error...
-
August 9th, 2019, 06:50 AM
,for simple case, the direct assignments we have:
grep -nE '^\s*i\s*=' directory_of_code | grep -v '=='
-
August 8th, 2019, 04:58 PM
In fact,both of them, but let me explain my request,
Is there any static code analysing tool to make file base on source, to give us where a variable takes value
-
August 8th, 2019, 12:16 PM
How to find where a variable takes value (preferably c++ source and grep,awk&sed and regex tools, variable is Integer,char* and string can get value by =, or arbitrary function without =)
-We're...
-
August 15th, 2015, 01:10 PM
I have two boxes:
A- local machine, windows 7 : netbeans 8.01.
B- remote server, Linux REHL 6, connection : SSH
I am working in A on a C++ project (Makefile project) and i want to make it...
-
August 11th, 2015, 06:13 AM
I have the following boxes:
a) A Windows box with Eclipse CDT(or PTP)
b) A Linux box,including Compiler, accessible for me only via SSH.
c) A Linux box, including SVN Source, accessible for...
-
June 17th, 2015, 04:52 AM
@laserlight:thank you!,your Code in post #7 is very shining example
-
June 17th, 2015, 01:48 AM
-
June 16th, 2015, 12:53 PM
Thanks all, thanks for your perspective and idea's, specially for reinterpret_cast...
-
June 16th, 2015, 12:48 PM
@GCDEF: when pointer variable is declared -even it is not initialized-, it get specific address from memory to point it, so A and B after A=B have same address to point it
-
June 16th, 2015, 07:51 AM
thanks all, it is not my homework and i am not student , as i am think:
memory allocation most probably related to pointer name i.e we allocate memory to a "name" and NOT "address"
because pointer ...
-
June 16th, 2015, 05:54 AM
thanks for good explanation,
for this Code:
is this really OK or we have potentially hidden error?
-
June 16th, 2015, 03:06 AM
When we have memory allocation or memory deallocation in Code, memory is assigned to what?
1- A pointer's name (or equally the any name addressing related to compiler)
or
2- A pointer's...
-
June 11th, 2015, 11:51 PM
@tiliavirga Thanks for your brilliant idea,
-
June 11th, 2015, 02:08 PM
for single .cpp file- and .h file- we can move implementation from .cpp to .h file, but for multiple files, i can not do this for my case and occurred circularity :
my case is something like this...
-
@OReubens: Thank you for good explanation with C++ style,
-
@2kaud, thank you so much, but it work, as I test, for heap, not for stack, is there another function that works for stack?
-
@laserlight thank you, i think i got the point!
-
If that(*X='C') is OK and we do not have potentially error when derefrencing pointer X, after shift +98, it means in function scope , we(machine) know how much memory allocated to X or we(machine)...
-
When we call function passing by value, we are making a copy in memory of the actual parameters' value.
The question is: does the function know how much space its parameters occupy in memory? If...
|
Click Here to Expand Forum to Full Width
|