עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

צריך בבקשה עזרה בפוינטרים לפונקציות ב c

Featured Replies

פורסם

יש לי את ההגדרה הזו של פויינטר לפונקציה


יש לי את ההגדרה הזו של פויינטר לפונקציה
typedef int (*compare_key) ( void* key,void* agent ) ;

ואת הפונקציה הזו
[code]
void *linkedListFind(LinkedList * list, void * data,compare_key cmp);

איך אני קורא לפונקציה הזאת? מה אני נותן לה בפויינטר לפונקציה?
ניסיתי הכל כלום לא עובד
תודה

פורסם

מי אתה רוצה שתקרא למי?

פורסם
  • מחבר

אני קורא מהמיין לפונקציה השנייה.

איך אני נותן לה את הפרמטר השלישי?

פורסם

אתה צריך להגדיר פונקציה שהחתימה שלה תואמת את הטיפוס של המצביע, כלומר היא מקבלת את אותם הטיפוסים של פרמטרים ויש להם אותו טיפוס החזרה.

הפונקציה הזו היא הפרמטר השלישי.

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.