C/C++ Geany Error - Help Fixing Really Sad C++ Programming Issue

  • Thread starter Thread starter zooxanthellae
  • Start date Start date
  • Tags Tags
    Error
AI Thread Summary
A user learning C++ with the book "C++ Programming: From Problem Analysis to Program Design" by D.S. Malik encountered an issue while using the Geany IDE. The problem involved comments in their code where a line of asterisks turned into 8's, and the user was unable to capitalize letters, even with Caps Lock. After consulting the manual without success, they received suggestions to tap the Shift key or restart the IDE. Ultimately, restarting Geany resolved the issue, although the user remained uncertain about the cause of the problem.
zooxanthellae
Messages
157
Reaction score
1
I've just started learning C++, using the book "C++ Programming: From Problem Analysis to Program Design" by D.S. Malik. I'm liking it so far, but there's one problem I'm having with my compiler, Geany.

I was starting to write my first C++ program, and the program begins with comments, and the first line looks something like this:

//******************************************

So to do that, I went to Geany, put in two /'s, then held shift and 8, thus producing a line of *.

Except, a second or two in, the *'s changed to 8's, and now I can't capitalize anything in Geany. Caps lock does not work, either.

Obviously, everything works fine outside of Geany.

I've consulted the manual to no avail, and this is the closest I've got to a programming resource, so...anyone know how to fix this rather lame problem?

Thanks.
 
Technology news on Phys.org
zooxanthellae said:
there's one problem I'm having with my compiler, Geany.

IDE, not compiler.


zooxanthellae said:
Except, a second or two in, the *'s changed to 8's, and now I can't capitalize anything in Geany. Caps lock does not work, either.

Try tapping shift. That's often the problem. If not, close it and open it again; do you still see the problem?
 
CRGreathouse said:
IDE, not compiler.

True, my mistake.

Try tapping shift. That's often the problem. If not, close it and open it again; do you still see the problem?

Well, I restarted and the problem's gone (and not recurring) so I guess things are fixed, although I still don't know what exactly happened.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
Back
Top