hahalmao555huehuekkkxixi's blog

By hahalmao555huehuekkkxixi, history, 9 months ago, In English,

Hi everyone :D

This is .conf file (vs.conf) of codeblocks which is the theme of Visual Studio's code preview. I tried my best to make this, it should be ~ 90.1% (or 90.whatever % with your favorite number) similar. If you want to try something new when code with Codeblocks, and you also love Visual Studio, you should try this :D (or just try it for no reason).

If you don't know how to apply this config, here is some help:

  • Open cb_share_config (\Program Files (x86)\CodeBlocks\cb_share_config).
  • At Destination configuration file, choose default.conf (It should be at \Users\(your_user)\AppData\Roaming\CodeBlocks\default.conf).
  • At Source configuration file, choose my vs.conf, then choose all 2 boxes.
  • Choose Tranfer >>, then Save.

Done!

Now go to Codeblocks, open Setting > Editor... > Syntax highlighting > Colour theme. You should see my theme already wait there.

This is how it loo... aw shit!

THIS is how it looks like!

Hope you enjoy it! (And shoutout to liv1n9 for dope pattern)

Read more »

 
 
 
 
  • Vote: I like it
  • +1
  • Vote: I do not like it

By hahalmao555huehuekkkxixi, history, 22 months ago, In English,

A guy gave me this code:

#include<stdio.h>
#include<conio.h>
void main(void)
{
    int b;
    char a;
    scanf("%d",&b);
    scanf("%s",&a);
    printf("%d",b);
    getch();
}

I knew that he used the wrong specifier for char a, but this code ran, and after that, b's value that i had typed before was changed to another value. I'm very curious about this case, can someone show me how this is done?

Read more »

 
 
 
 
  • Vote: I like it
  • -16
  • Vote: I do not like it