BinaryByter
so it accesses the memory at [10]
BinaryByter
(it should segfault tbh)
Anonymous
you forgot the &
How can you say that i forget & ,I am printing the value not asking for input values.
Anonymous
Thanks maxi
BinaryByter
sure :D
Anonymous
I think you didn't understand me but its OK not your problem .
olli
Main(){ Int I=10; Printf("%d %d %d ",I,++I,I++); Getch(); } Actually I want know the answer of this question and I also want know why it gives different result in different computer.
The compiler is free to choose to evaluate the parameter from left to right or right to left (The behavior is actually undefined in C++)
Anonymous
I don't agree. arrays and pointers are wayy more basic than datatypes
and this in quora i think you were wrong you can check this website also http://www.trytoprogram.com/c-programming/c-programming-datatypes/
Anonymous
Lets say n=123 How can I display the n number like this: (1+2+3)
Anonymous
Could someone help please
Anonymous
Yes
Mihail
The remainder when you divide by 10 is the last digit
Mihail
And deviding the number by 10 will remove the last digit
Mihail
So just do that while it's bigger than 0
Anonymous
Yes I did so far
olli
Why would a pointer be "derived"?
because it is derived from either its function or object type (which is referenced) (see 6.2.5.20 in N1570)
Anonymous
But how can I display it
Mihail
But how can I display it
When dividing it by 10 store that remainder in an array
Mihail
Then just print the elements of that array
Anonymous
Why would a pointer be "derived"?
I think a pointer is a derived data type. Its very clear that pointer can hold data other than point to data. And the data held by pointers are always of same kind
Mihail
It just points to an address in memory
Anonymous
Then just print the elements of that array
Thank you but can we do this without using arrays
Anonymous
Mihail
Thank you but can we do this without using arrays
You can, but then you won't be able to use a loop
Anonymous
How can we do it, could you help me please :(
olli
20. Any number of derived types can be constructed from the object and function types, as follows [ ... ] - A pointer type may be derived from a function type or an object type, called the referenced type. A pointer type describes an object whose value provides a reference to an entity of the referenced type. A pointer type derived from the referenced type T is sometimes called ‘‘pointer to T’’. The construction of a pointer type from a referenced type is called ‘‘pointer type derivation’’. A pointer type is a complete object type C11 - 6.2.5.20 #5
Anonymous
It just points to an address in memory
i know that but it is a data is a data type built from one of the standard types its value is any of the addresses available in the computer for storing and accessing data
Anonymous
so i can't take a pointer to a strucutre? (because structure is not a standard type)
do you mean that it is not derived because we can built structure from the it?
Mihail
Also it says "A pointer type is a complete object type"
olli
do you mean that it is not derived because we can built structure from the it?
you are correct hat it is derived, I just didn't like the "standard type' in your explanation, because you can have pointer to object or function types
olli
Also it says "A pointer type is a complete object type"
that is correct. But then look at the definition. In C there are object and function types. So the pointer is indeed a object type, to allow pointer to pointer 6.2.5.1
olli
Types are partitioned into object types (types that describe objects) and function types (types that describe functions)
olli
If you read the whole section An object declared as type char is large even a simple char is an object type
Mihail
So a pointer is neither?
olli
I would rather say a scalar type is itself an object type
olli
Scalar types is like another name for both scalar and pointer types, but not all object types
Anonymous
Guys does Makefile compulsory contain the main method
Anonymous
@ollirz actually vs-code's intellisense is great now and it wasn't before! thanks
Anonymous
also kdevelop had a lot of problems and couldn't figure out complex include mechanisms.
olli
@ollirz actually vs-code's intellisense is great now and it wasn't before! thanks
yes there were some great improvements over the last iterations. Espacially in combination with the cmake tools (when working on cmake projects at least)
Anonymous
is cmake tools another extension?
Anonymous
or it's just, cmake
olli
it's another plugin https://marketplace.visualstudio.com/items?itemName=vector-of-bool.cmake-tools
olli
When opening a CMake project it can adjust the settings for the intellisense based on the build files automatically
Anonymous
oh and builder is too bad also, it even doesn't build its own template projects!
Anonymous
as bad as its ugly icon
Anonymous
bubblewrap clang devhelp-common exuberant-ctags flatpak g++ g++-6 javascript-common kactivities-bin kactivitymanagerd kapptemplate kdevelop-data kdevplatform10-libs kio kio-extras kio-extras-data kpackagelauncherqml kpackagetool5 ktexteditor-data ktexteditor-katepart libbasicusageenvironment1 libcddb2 libclang1-3.9 libdbusmenu-qt5-2 libdevhelp-3-2 libdouble-conversion1 libdvbpsi10 libebml4v5 libfam0 libflatpak0 libgpgmepp6 libgrantlee-templates5 libgroupsock8 libjs-jquery libjs-underscore libkasten3controllers3 libkasten3core3 libkasten3gui3 libkasten3okteta1controllers1 libkasten3okteta1core1 libkasten3okteta1gui1 libkf5activities5 libkf5archive5 libkf5attica5 libkf5auth-data libkf5auth5 libkf5bookmarks-data libkf5bookmarks5 libkf5codecs-data libkf5codecs5 libkf5completion-data libkf5completion5 libkf5config-bin libkf5config-data libkf5configcore5 libkf5configgui5 libkf5configwidgets-data libkf5configwidgets5 libkf5coreaddons-data libkf5coreaddons5 libkf5crash5 libkf5dbusaddons-bin libkf5dbusaddons-data libkf5dbusaddons5 libkf5declarative-data libkf5declarative5 libkf5dnssd-data libkf5dnssd5 libkf5globalaccel-bin libkf5globalaccel-data libkf5globalaccel5 libkf5globalaccelprivate5 libkf5guiaddons5 libkf5i18n-data libkf5i18n5 libkf5iconthemes-bin libkf5iconthemes-data libkf5iconthemes5 libkf5itemmodels5 libkf5itemviews-data libkf5itemviews5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5js5 libkf5kcmutils-data libkf5kcmutils5 libkf5kdelibs4support-data libkf5kdelibs4support5 libkf5kdelibs4support5-bin libkf5khtml-bin libkf5khtml-data libkf5khtml5 libkf5kiocore5 libkf5kiofilewidgets5 libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5 libkf5notifications-data libkf5notifications5 libkf5notifyconfig-data libkf5notifyconfig5 libkf5package-data libkf5package5 libkf5parts-data libkf5parts-plugins libkf5parts5 libkf5pty-data libkf5pty5 libkf5quickaddons5 libkf5service-bin libkf5service-data libkf5service5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libkf5sysguard-data libkf5texteditor5 libkf5textwidgets-data libkf5textwidgets5 libkf5threadweaver5 libkf5wallet-bin libkf5wallet-data libkf5wallet5 libkf5widgetsaddons-data libkf5widgetsaddons5 libkf5windowsystem-data libkf5windowsystem5 libkf5xmlgui-bin libkf5xmlgui-data libkf5xmlgui5 libkomparediff2-5 libkwalletbackend5-5 liblivemedia57 libmatroska6v5 libmicrodns0 libokteta2core2 libokteta2gui2 libopenmpt-modplug1 libostree-1-1 libphonon4qt5-4 libpolkit-qt5-1-1 libprocesscore7 libprocessui7 libprotobuf-lite10 libproxy-tools libqca-qt5-2 libqca-qt5-2-plugins libqt5clucene5 libqt5core5a libqt5dbus5 libqt5gui5 libqt5help5 libqt5network5 libqt5opengl5 libqt5printsupport5 libqt5qml5 libqt5quick5 libqt5quickwidgets5 libqt5script5 libqt5sql5 libqt5sql5-sqlite libqt5svg5 libqt5test5 libqt5webkit5 libqt5widgets5 libqt5x11extras5 libqt5xml5 libresid-builder0c2a libsdl-image1.2 libserf-1-1 libsidplay2 libssh-4 libsvn1 libupnp6 libusageenvironment3 libva-wayland1 libvala-0.34-0 libvala-0.34-dev libvlc-bin libvlc5 libvlccore9 libxcb-xinerama0 phonon4qt5 phonon4qt5-backend-vlc python3-bs4 python3-html5lib python3-jedi python3-lxml python3-webencodings qt5-gtk-platformtheme qttranslations5-l10n sonnet-plugins sysprof valac-0.34-vapi vlc-data vlc-plugin-base vlc-plugin-video-output xdg-desktop-portal xdg-desktop-portal-gtk
Anonymous
bubblewrap clang devhelp-common exuberant-ctags flatpak g++ g++-6 javascript-common kactivities-bin kactivitymanagerd kapptemplate kdevelop-data kdevplatform10-libs kio kio-extras kio-extras-data kpackagelauncherqml kpackagetool5 ktexteditor-data ktexteditor-katepart libbasicusageenvironment1 libcddb2 libclang1-3.9 libdbusmenu-qt5-2 libdevhelp-3-2 libdouble-conversion1 libdvbpsi10 libebml4v5 libfam0 libflatpak0 libgpgmepp6 libgrantlee-templates5 libgroupsock8 libjs-jquery libjs-underscore libkasten3controllers3 libkasten3core3 libkasten3gui3 libkasten3okteta1controllers1 libkasten3okteta1core1 libkasten3okteta1gui1 libkf5activities5 libkf5archive5 libkf5attica5 libkf5auth-data libkf5auth5 libkf5bookmarks-data libkf5bookmarks5 libkf5codecs-data libkf5codecs5 libkf5completion-data libkf5completion5 libkf5config-bin libkf5config-data libkf5configcore5 libkf5configgui5 libkf5configwidgets-data libkf5configwidgets5 libkf5coreaddons-data libkf5coreaddons5 libkf5crash5 libkf5dbusaddons-bin libkf5dbusaddons-data libkf5dbusaddons5 libkf5declarative-data libkf5declarative5 libkf5dnssd-data libkf5dnssd5 libkf5globalaccel-bin libkf5globalaccel-data libkf5globalaccel5 libkf5globalaccelprivate5 libkf5guiaddons5 libkf5i18n-data libkf5i18n5 libkf5iconthemes-bin libkf5iconthemes-data libkf5iconthemes5 libkf5itemmodels5 libkf5itemviews-data libkf5itemviews5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5js5 libkf5kcmutils-data libkf5kcmutils5 libkf5kdelibs4support-data libkf5kdelibs4support5 libkf5kdelibs4support5-bin libkf5khtml-bin libkf5khtml-data libkf5khtml5 libkf5kiocore5 libkf5kiofilewidgets5 libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5 libkf5notifications-data libkf5notifications5 libkf5notifyconfig-data libkf5notifyconfig5 libkf5package-data libkf5package5 libkf5parts-data libkf5parts-plugins libkf5parts5 libkf5pty-data libkf5pty5 libkf5quickaddons5 libkf5service-bin libkf5service-data libkf5service5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libkf5sysguard-data libkf5texteditor5 libkf5textwidgets-data libkf5textwidgets5 libkf5threadweaver5 libkf5wallet-bin libkf5wallet-data libkf5wallet5 libkf5widgetsaddons-data libkf5widgetsaddons5 libkf5windowsystem-data libkf5windowsystem5 libkf5xmlgui-bin libkf5xmlgui-data libkf5xmlgui5 libkomparediff2-5 libkwalletbackend5-5 liblivemedia57 libmatroska6v5 libmicrodns0 libokteta2core2 libokteta2gui2 libopenmpt-modplug1 libostree-1-1 libphonon4qt5-4 libpolkit-qt5-1-1 libprocesscore7 libprocessui7 libprotobuf-lite10 libproxy-tools libqca-qt5-2 libqca-qt5-2-plugins libqt5clucene5 libqt5core5a libqt5dbus5 libqt5gui5 libqt5help5 libqt5network5 libqt5opengl5 libqt5printsupport5 libqt5qml5 libqt5quick5 libqt5quickwidgets5 libqt5script5 libqt5sql5 libqt5sql5-sqlite libqt5svg5 libqt5test5 libqt5webkit5 libqt5widgets5 libqt5x11extras5 libqt5xml5 libresid-builder0c2a libsdl-image1.2 libserf-1-1 libsidplay2 libssh-4 libsvn1 libupnp6 libusageenvironment3 libva-wayland1 libvala-0.34-0 libvala-0.34-dev libvlc-bin libvlc5 libvlccore9 libxcb-xinerama0 phonon4qt5 phonon4qt5-backend-vlc python3-bs4 python3-html5lib python3-jedi python3-lxml python3-webencodings qt5-gtk-platformtheme qttranslations5-l10n sonnet-plugins sysprof valac-0.34-vapi vlc-data vlc-plugin-base vlc-plugin-video-output xdg-desktop-portal xdg-desktop-portal-gtk
kdevelop's dependencies, i guess
Anonymous
bubblewrap clang devhelp-common exuberant-ctags flatpak g++ g++-6 javascript-common kactivities-bin kactivitymanagerd kapptemplate kdevelop-data kdevplatform10-libs kio kio-extras kio-extras-data kpackagelauncherqml kpackagetool5 ktexteditor-data ktexteditor-katepart libbasicusageenvironment1 libcddb2 libclang1-3.9 libdbusmenu-qt5-2 libdevhelp-3-2 libdouble-conversion1 libdvbpsi10 libebml4v5 libfam0 libflatpak0 libgpgmepp6 libgrantlee-templates5 libgroupsock8 libjs-jquery libjs-underscore libkasten3controllers3 libkasten3core3 libkasten3gui3 libkasten3okteta1controllers1 libkasten3okteta1core1 libkasten3okteta1gui1 libkf5activities5 libkf5archive5 libkf5attica5 libkf5auth-data libkf5auth5 libkf5bookmarks-data libkf5bookmarks5 libkf5codecs-data libkf5codecs5 libkf5completion-data libkf5completion5 libkf5config-bin libkf5config-data libkf5configcore5 libkf5configgui5 libkf5configwidgets-data libkf5configwidgets5 libkf5coreaddons-data libkf5coreaddons5 libkf5crash5 libkf5dbusaddons-bin libkf5dbusaddons-data libkf5dbusaddons5 libkf5declarative-data libkf5declarative5 libkf5dnssd-data libkf5dnssd5 libkf5globalaccel-bin libkf5globalaccel-data libkf5globalaccel5 libkf5globalaccelprivate5 libkf5guiaddons5 libkf5i18n-data libkf5i18n5 libkf5iconthemes-bin libkf5iconthemes-data libkf5iconthemes5 libkf5itemmodels5 libkf5itemviews-data libkf5itemviews5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5js5 libkf5kcmutils-data libkf5kcmutils5 libkf5kdelibs4support-data libkf5kdelibs4support5 libkf5kdelibs4support5-bin libkf5khtml-bin libkf5khtml-data libkf5khtml5 libkf5kiocore5 libkf5kiofilewidgets5 libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5 libkf5notifications-data libkf5notifications5 libkf5notifyconfig-data libkf5notifyconfig5 libkf5package-data libkf5package5 libkf5parts-data libkf5parts-plugins libkf5parts5 libkf5pty-data libkf5pty5 libkf5quickaddons5 libkf5service-bin libkf5service-data libkf5service5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libkf5sysguard-data libkf5texteditor5 libkf5textwidgets-data libkf5textwidgets5 libkf5threadweaver5 libkf5wallet-bin libkf5wallet-data libkf5wallet5 libkf5widgetsaddons-data libkf5widgetsaddons5 libkf5windowsystem-data libkf5windowsystem5 libkf5xmlgui-bin libkf5xmlgui-data libkf5xmlgui5 libkomparediff2-5 libkwalletbackend5-5 liblivemedia57 libmatroska6v5 libmicrodns0 libokteta2core2 libokteta2gui2 libopenmpt-modplug1 libostree-1-1 libphonon4qt5-4 libpolkit-qt5-1-1 libprocesscore7 libprocessui7 libprotobuf-lite10 libproxy-tools libqca-qt5-2 libqca-qt5-2-plugins libqt5clucene5 libqt5core5a libqt5dbus5 libqt5gui5 libqt5help5 libqt5network5 libqt5opengl5 libqt5printsupport5 libqt5qml5 libqt5quick5 libqt5quickwidgets5 libqt5script5 libqt5sql5 libqt5sql5-sqlite libqt5svg5 libqt5test5 libqt5webkit5 libqt5widgets5 libqt5x11extras5 libqt5xml5 libresid-builder0c2a libsdl-image1.2 libserf-1-1 libsidplay2 libssh-4 libsvn1 libupnp6 libusageenvironment3 libva-wayland1 libvala-0.34-0 libvala-0.34-dev libvlc-bin libvlc5 libvlccore9 libxcb-xinerama0 phonon4qt5 phonon4qt5-backend-vlc python3-bs4 python3-html5lib python3-jedi python3-lxml python3-webencodings qt5-gtk-platformtheme qttranslations5-l10n sonnet-plugins sysprof valac-0.34-vapi vlc-data vlc-plugin-base vlc-plugin-video-output xdg-desktop-portal xdg-desktop-portal-gtk
what does this mean
Anonymous
what does this mean
packages required to install kdevelop
Ανδρέας 🇮🇹
bubblewrap clang devhelp-common exuberant-ctags flatpak g++ g++-6 javascript-common kactivities-bin kactivitymanagerd kapptemplate kdevelop-data kdevplatform10-libs kio kio-extras kio-extras-data kpackagelauncherqml kpackagetool5 ktexteditor-data ktexteditor-katepart libbasicusageenvironment1 libcddb2 libclang1-3.9 libdbusmenu-qt5-2 libdevhelp-3-2 libdouble-conversion1 libdvbpsi10 libebml4v5 libfam0 libflatpak0 libgpgmepp6 libgrantlee-templates5 libgroupsock8 libjs-jquery libjs-underscore libkasten3controllers3 libkasten3core3 libkasten3gui3 libkasten3okteta1controllers1 libkasten3okteta1core1 libkasten3okteta1gui1 libkf5activities5 libkf5archive5 libkf5attica5 libkf5auth-data libkf5auth5 libkf5bookmarks-data libkf5bookmarks5 libkf5codecs-data libkf5codecs5 libkf5completion-data libkf5completion5 libkf5config-bin libkf5config-data libkf5configcore5 libkf5configgui5 libkf5configwidgets-data libkf5configwidgets5 libkf5coreaddons-data libkf5coreaddons5 libkf5crash5 libkf5dbusaddons-bin libkf5dbusaddons-data libkf5dbusaddons5 libkf5declarative-data libkf5declarative5 libkf5dnssd-data libkf5dnssd5 libkf5globalaccel-bin libkf5globalaccel-data libkf5globalaccel5 libkf5globalaccelprivate5 libkf5guiaddons5 libkf5i18n-data libkf5i18n5 libkf5iconthemes-bin libkf5iconthemes-data libkf5iconthemes5 libkf5itemmodels5 libkf5itemviews-data libkf5itemviews5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5js5 libkf5kcmutils-data libkf5kcmutils5 libkf5kdelibs4support-data libkf5kdelibs4support5 libkf5kdelibs4support5-bin libkf5khtml-bin libkf5khtml-data libkf5khtml5 libkf5kiocore5 libkf5kiofilewidgets5 libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5 libkf5notifications-data libkf5notifications5 libkf5notifyconfig-data libkf5notifyconfig5 libkf5package-data libkf5package5 libkf5parts-data libkf5parts-plugins libkf5parts5 libkf5pty-data libkf5pty5 libkf5quickaddons5 libkf5service-bin libkf5service-data libkf5service5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libkf5sysguard-data libkf5texteditor5 libkf5textwidgets-data libkf5textwidgets5 libkf5threadweaver5 libkf5wallet-bin libkf5wallet-data libkf5wallet5 libkf5widgetsaddons-data libkf5widgetsaddons5 libkf5windowsystem-data libkf5windowsystem5 libkf5xmlgui-bin libkf5xmlgui-data libkf5xmlgui5 libkomparediff2-5 libkwalletbackend5-5 liblivemedia57 libmatroska6v5 libmicrodns0 libokteta2core2 libokteta2gui2 libopenmpt-modplug1 libostree-1-1 libphonon4qt5-4 libpolkit-qt5-1-1 libprocesscore7 libprocessui7 libprotobuf-lite10 libproxy-tools libqca-qt5-2 libqca-qt5-2-plugins libqt5clucene5 libqt5core5a libqt5dbus5 libqt5gui5 libqt5help5 libqt5network5 libqt5opengl5 libqt5printsupport5 libqt5qml5 libqt5quick5 libqt5quickwidgets5 libqt5script5 libqt5sql5 libqt5sql5-sqlite libqt5svg5 libqt5test5 libqt5webkit5 libqt5widgets5 libqt5x11extras5 libqt5xml5 libresid-builder0c2a libsdl-image1.2 libserf-1-1 libsidplay2 libssh-4 libsvn1 libupnp6 libusageenvironment3 libva-wayland1 libvala-0.34-0 libvala-0.34-dev libvlc-bin libvlc5 libvlccore9 libxcb-xinerama0 phonon4qt5 phonon4qt5-backend-vlc python3-bs4 python3-html5lib python3-jedi python3-lxml python3-webencodings qt5-gtk-platformtheme qttranslations5-l10n sonnet-plugins sysprof valac-0.34-vapi vlc-data vlc-plugin-base vlc-plugin-video-output xdg-desktop-portal xdg-desktop-portal-gtk
you are basically installing a whole desktop environment just for an app lol
klimi
Lol indeed
Avamander
mother fucker
I have most of them becoz I have KDE
Mark
noob DE user
disrupt_the_flow
bubblewrap clang devhelp-common exuberant-ctags flatpak g++ g++-6 javascript-common kactivities-bin kactivitymanagerd kapptemplate kdevelop-data kdevplatform10-libs kio kio-extras kio-extras-data kpackagelauncherqml kpackagetool5 ktexteditor-data ktexteditor-katepart libbasicusageenvironment1 libcddb2 libclang1-3.9 libdbusmenu-qt5-2 libdevhelp-3-2 libdouble-conversion1 libdvbpsi10 libebml4v5 libfam0 libflatpak0 libgpgmepp6 libgrantlee-templates5 libgroupsock8 libjs-jquery libjs-underscore libkasten3controllers3 libkasten3core3 libkasten3gui3 libkasten3okteta1controllers1 libkasten3okteta1core1 libkasten3okteta1gui1 libkf5activities5 libkf5archive5 libkf5attica5 libkf5auth-data libkf5auth5 libkf5bookmarks-data libkf5bookmarks5 libkf5codecs-data libkf5codecs5 libkf5completion-data libkf5completion5 libkf5config-bin libkf5config-data libkf5configcore5 libkf5configgui5 libkf5configwidgets-data libkf5configwidgets5 libkf5coreaddons-data libkf5coreaddons5 libkf5crash5 libkf5dbusaddons-bin libkf5dbusaddons-data libkf5dbusaddons5 libkf5declarative-data libkf5declarative5 libkf5dnssd-data libkf5dnssd5 libkf5globalaccel-bin libkf5globalaccel-data libkf5globalaccel5 libkf5globalaccelprivate5 libkf5guiaddons5 libkf5i18n-data libkf5i18n5 libkf5iconthemes-bin libkf5iconthemes-data libkf5iconthemes5 libkf5itemmodels5 libkf5itemviews-data libkf5itemviews5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5js5 libkf5kcmutils-data libkf5kcmutils5 libkf5kdelibs4support-data libkf5kdelibs4support5 libkf5kdelibs4support5-bin libkf5khtml-bin libkf5khtml-data libkf5khtml5 libkf5kiocore5 libkf5kiofilewidgets5 libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5 libkf5notifications-data libkf5notifications5 libkf5notifyconfig-data libkf5notifyconfig5 libkf5package-data libkf5package5 libkf5parts-data libkf5parts-plugins libkf5parts5 libkf5pty-data libkf5pty5 libkf5quickaddons5 libkf5service-bin libkf5service-data libkf5service5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libkf5sysguard-data libkf5texteditor5 libkf5textwidgets-data libkf5textwidgets5 libkf5threadweaver5 libkf5wallet-bin libkf5wallet-data libkf5wallet5 libkf5widgetsaddons-data libkf5widgetsaddons5 libkf5windowsystem-data libkf5windowsystem5 libkf5xmlgui-bin libkf5xmlgui-data libkf5xmlgui5 libkomparediff2-5 libkwalletbackend5-5 liblivemedia57 libmatroska6v5 libmicrodns0 libokteta2core2 libokteta2gui2 libopenmpt-modplug1 libostree-1-1 libphonon4qt5-4 libpolkit-qt5-1-1 libprocesscore7 libprocessui7 libprotobuf-lite10 libproxy-tools libqca-qt5-2 libqca-qt5-2-plugins libqt5clucene5 libqt5core5a libqt5dbus5 libqt5gui5 libqt5help5 libqt5network5 libqt5opengl5 libqt5printsupport5 libqt5qml5 libqt5quick5 libqt5quickwidgets5 libqt5script5 libqt5sql5 libqt5sql5-sqlite libqt5svg5 libqt5test5 libqt5webkit5 libqt5widgets5 libqt5x11extras5 libqt5xml5 libresid-builder0c2a libsdl-image1.2 libserf-1-1 libsidplay2 libssh-4 libsvn1 libupnp6 libusageenvironment3 libva-wayland1 libvala-0.34-0 libvala-0.34-dev libvlc-bin libvlc5 libvlccore9 libxcb-xinerama0 phonon4qt5 phonon4qt5-backend-vlc python3-bs4 python3-html5lib python3-jedi python3-lxml python3-webencodings qt5-gtk-platformtheme qttranslations5-l10n sonnet-plugins sysprof valac-0.34-vapi vlc-data vlc-plugin-base vlc-plugin-video-output xdg-desktop-portal xdg-desktop-portal-gtk
Thats what we call SPAM
Anonymous
The compiler is free to choose to evaluate the parameter from left to right or right to left (The behavior is actually undefined in C++)
Olli I want to know that the values of i will be different in different compilers. Thankyou
olli
Olli I want to know that the values of i will be different in different compilers. Thankyou
You want to know`why` or whether? gcc 8.2.0 prints 1 2 2 whereas clang 7 prints 0 1 2 (but you can try that on your own) I believe the answer what the output will be according to the C Standard can't be said for sure.
Anonymous
OK I understand
olli
According to n1570 6.5.2 it's Undefined Behavior though clang/gcc issue warnings when compiling the code (using -std=c11 -pedantic -Wall -Wextra)
olli
something like this int sum = 0; while (continueReading) { scanf(" %d", &array[idx]); sum += array[idx]; ++idx; }
olli
something like this std::vector<int> v; while (continueReading) { int x; std::cin >> x; v.push_back(x); } const int sum = std::accumulate(v.cbegin(), v.cend(), 0); but you could also compute the sum while reading std::vector<int> v; int sum = 0; while (continueReading) { int x; std::cin >> x; v.push_back(x); sum += x; }
Tobias🐾🚲
If human-ness could be proven by clicking a button then the we'd have a lot less problems with spam. xD
Anonymous
What is recursive in c language
olli
What is recursive in c language
The same as in C++, Java, .... calling the same function again Search for it on your search engine of choice. Google provides you with an "easter egg"
Anonymous
Tysm to much
Anonymous
Hello everyone I want to suggestion about programming But the problem is I love I want to learn programming proof to someone but my coding is so week then how I improve my skill in programming languages and his master pls give me suggest as a student
Anonymous
I am in student of CSE student of last year but I don't know coding properly I have fail in c language exam I don't know what I do??