|
7 registered members (fairtrader, Quad, miwok, Martin_HH, AndrewAMD, alibaba, dpn),
581
guests, and 0
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Xor Memory Problem.
[Re: TipmyPip]
#487946
11/28/23 11:07
11/28/23 11:07
|
Joined: Feb 2017
Posts: 1,699 Chicago
AndrewAMD
Serious User
|
Serious User
Joined: Feb 2017
Posts: 1,699
Chicago
|
I'm not new to Lite C. And you missed this from the manual: !! Unlike C/C++, sizeof(some struct) requires that at least one instance of the struct exists. Otherwise sizeof will return 0. !! Arrays are internally treated as a pointer to a memory area. So, sizeof(some array) and sizeof(some pointer) always evaluates to 4 because that is the size of a pointer. https://zorro-project.com/manual/en/structs.htmYou throw standard code at a nonstandard language and expect standard behavior? It won't always work.
|
|
|
Re: Xor Memory Problem.
[Re: AndrewAMD]
#487947
11/28/23 11:30
11/28/23 11:30
|
Joined: Sep 2017
Posts: 42
TipmyPip
OP
Newbie
|
OP
Newbie
Joined: Sep 2017
Posts: 42
|
Dear Andrew, Please consider, that I have already read the manual, I have requested from anyone who has more experience in programming, more abstract ideas, and a more creative mind, to try to solve the problem, not refer me to the manual, which I have already done, and I have already written the code in lite-C, but I wish not to share my ideas, I want to find the creative one, who is blessed with much more money to contribute his knowledge and time, that way, we can exchange ideas more with clear minds instead of competing on poetic notions of unrealistic imagination.
But I guess I already asked you if you know what the code above performs...
|
|
|
Re: Xor Memory Problem.
[Re: TipmyPip]
#487949
11/28/23 14:23
11/28/23 14:23
|
Joined: Sep 2017
Posts: 42
TipmyPip
OP
Newbie
|
OP
Newbie
Joined: Sep 2017
Posts: 42
|
I do understand, And I respect the wisdom of your choices, But if you can describe your solution with half a sentence, how come you can't show me what is the meaning of: "putting a dummy struct variable upstream of your size of calls" it seems that sentence is describing initializing a struct with whatever you have difficulty describing in code because most likely you don't want to try to solve a problem which you don't have a solution for, let alone the money you don't have time for.
But you do have the time to prove your wisdom with no intentions by describing partial solutions that don't exist.
Our Future interactions might be beyond the wisdom of your current limitations, where I suppose you can't imagine other ways to make money. If you think I need to pay for a limitation that lite-C can't resolve.
(The fact you stated: "but only because I'm not interested in solving it myself," proves your so-called suggestion doesn't have any logical basis, because you have already stated that you are not interested in solving it for yourself, meaning you don't have a clue of how to solve it, which also means you share your suggestions only to get some emotional credit for showing of your unlogical description of whatever you can't imagine with "putting a dummy struct variable upstream of your size of calls" in relation to the code I have written, This also proves that giving sarcastic supervision, doesn't make you a professional programmer, Sir.)
Last edited by TipmyPip; 11/28/23 15:03.
|
|
|
|