S
S
Syava2018-03-07 23:34:02
C++ / C#
Syava, 2018-03-07 23:34:02

SI and C++. Why are they so dangerous when used together?

I've heard from people that C and C++ are dangerous when paired. How dangerous can they be? What can both do. In the future I want to become an information security specialist (Information Security Specialist) will they help me if I use them together?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Saboteur, 2018-03-08
@saboteur_kiev

If the people from whom you heard this cannot explain why they are dangerous, then do not listen to these people.

G
GavriKos, 2018-03-07
@GavriKos

So maybe you should ask those people who said this?
Because the c++ language, as it were, includes the c language. For it is its extension.

L
leremin, 2018-03-08
@leremin

It is not very clear what it means to use them together. Potentially, I can assume that there may be vulnerabilities or bugs that appear when using only one c or c++ compiler. The dumbest example to understand that when using a different compiler, the program can work differently:

#include "stdio.h"

int main(int argc, char** argv)
{
  if (sizeof('a') == sizeof(int))
    printf("it is c\n");
  else
    printf("it is c++\n");
}

N
NegroAzul, 2018-03-08
@NegroAzul

I don’t know what is dangerous in using C ++ and C (I have been writing on the pluses for 5+ years), but yes, if you don’t know about the pitfalls, you can do a lot of things.
Read Chris Kaspersky what buffer overlflow is, examples in C illustrate very clearly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question