コンパイラって何をつかってますか

フォーラム(掲示板)ルール
フォーラム(掲示板)ルールはこちら  ※コードを貼り付ける場合は [code][/code] で囲って下さい。詳しくはこちら
たけひこまる

コンパイラって何をつかってますか

#1

投稿記事 by たけひこまる » 4年前

コンパイラによって表示されるものは変わるものですか?ウィルスの入っているコンパイラもありますか?

Math

Re: コンパイラって何をつかってますか

#2

投稿記事 by Math » 4年前

VS2019,VS2017Community, CX-Bulder, MinGW など。
>コンパイラによって表示されるものは変わるものですか?
おおいに変わります。update でもかわりますよ。

>ウィルスの入っているコンパイラもありますか?
長年にわたり使っていてそういう事はありませんでしたよ。

dic
記事: 656
登録日時: 13年前
住所: 宮崎県
連絡を取る:

Re: コンパイラって何をつかってますか

#3

投稿記事 by dic » 4年前

まぁ、がんばれや
スライム勇者

Math

Re: コンパイラって何をつかってますか

#4

投稿記事 by Math » 4年前

[Please bloom where God has placed you.]
 Rather than give up, make the best of your life and bloom like a flower.
To bloom is to live happily.
Let your joy make others happy.
Your smile is contagious.
When you are happy and show it by your smile
Others will know it and are happy too.
God has planted you in a special place.
If you know it share it with others,your personality will shine.
 It is that "shine" which we call "Bloom"
 When I bloom in the place
 where God has placed me
 My life becomes a beautiful flower
 in the garden of life.
 Bloom where God has planted you
 

プログラマ見習い
記事: 44
登録日時: 4年前

Re: コンパイラって何をつかってますか

#5

投稿記事 by プログラマ見習い » 4年前

私は現在マイクロソフト製コンパイラVisualStudio2017Communityを使っております。

コンパイラによって表示が異なる事もあります。例えば、文字型や整数型などの変数の型の最大値や最小値は、コンパイラによって異なる場合もあります。また、特定の会社が提供しているコンパイラでしか使えない関数もあります。

参考書や他のサイトでの検索の方が詳しいので、ここではC言語でchar型の最大値と最小値を調べる一例を紹介しておきます。

コード:

 

#include <stdio.h>
#include <limits.h>

int main(void){

 printf("char :%d~%d\n"CHAR_MIN,CHAR_MAX);
 printf("sined char :%d~%d\n"SCHAR_MIN,SCHAR_MAX);
 printf("unsinged char :%d~%d\n"0,CHAR_MAX);

return 0;
}

以上です。

dic
記事: 656
登録日時: 13年前
住所: 宮崎県
連絡を取る:

Re: コンパイラって何をつかってますか

#6

投稿記事 by dic » 4年前

英語がスラスラできるなんてすごいですね!

返信

“C言語何でも質問掲示板” へ戻る